Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ive squid as http proxy and ive multi nic cards , by default it use eth1 ip in outgoing , i want it to use eth1:1 ip for outgoing any clue ?

share|improve this question

Correct option is tcp_outgoing_address.


Of course, replace with your ip address assigned to eth1:1

share|improve this answer

Squid allows you to give it an explicit IP and port combination to bind to. If that IP is bound to eth1:1, that's what it'll use for inbound connections.


To specify which address it'll use for outbound connections, the tcp_outgoing_address directive is a club used to force all traffic to come FROM a specific port.

share|improve this answer

man squid.conf

http_port ip_adderss:port

share|improve this answer
http_port options sets where squid will listen for incoming requests, not which ip address it will use for outgoing connections – thor Apr 6 '11 at 12:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.