No it cannot bind to a phisical interface. Anyway you can assure that with firewall rules.

What squid is capable of doing, as Beavis wrote, is to bind to a specific IP address. But instead of using tcp_outgoing address as proposed by Beavis, i would recommend using the 'binded' ip address on the http_port parameter

http://www.squid-cache.org/Versions/v2/2.6/cfgman/http_port.html

something like

http_port 192.168.1.10:3128

and then squid would NOT answer on your other NIC (192.168.2.10 for example) ....

tcp_outgoing_address deals with output addresses, not input things. I dont think it's the case of using tcp_outgoing_address for acchieving what you need. http_port is ready for doing the IP specific bind you need.


Beavis escreveu:
I'm not sure if it's possible to bind it to a physical interface but
you can sure bind it to an IP address

http://www.squid-cache.org/Versions/v2/2.6/cfgman/tcp_outgoing_address.html


On 11/6/07, stephane lepain aka riganta <[EMAIL PROTECTED]> wrote:
Hi Guys,

I am wondering if there is any possibilities for me to tell squid to act only
on one NIC. Indeed, I have two of them on my PC and would like Squid to use
only one.

--


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        http://www.solutti.com.br

        Minha armadilha de SPAM, NÃO mandem email
        [EMAIL PROTECTED]
        My SPAMTRAP, do not email it




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to