[squid-users] tcp_outgoing_address

From: sOngUs <songus@dont-contact.us>
Date: Thu, 21 Dec 2006 14:14:50 -0600

Hello, squiders (lol), i come to you with a question about something
that is driving me insane.
im trying to use the directive tcp_outgoing_address so i can use my
secondary internet connection.
so i configured an extra ip address to my linux box: 192.168.10.2 and
added rules like this to iproute2;

ip route add default via PUBLICIP dev ppp0 table 4
ip route add from 192.168.10.2 to 192.168.0.0/16 via 192.168.10.3 dev
eth1 table 4
ip rule add from 192.168.10.2 table 4

and in squid.conf

acl internalnetwork src 192.168.10.0/255.255.255.0
tcp_outgoing_address 192.168.10.2 internalnetwork

I start squid, no error are showed but when i try to surf on any
website from any of the clients on my internal network it just takes
like 5 minutes and nothing happens and it gives me timeout error but
if i go to view the page source i can see all the page source, and
even i can see the little "image" beside the address bar (like in
nba, or cnet websites)

Im using iptables with MASQUERADE and the latest version of squid, if
i take off the tcp_outgoing_address then everything works again.

Tried also, to put on tcp_outgoing_address the publicip but it doesnt
work either...
i re-read like 10 times the example on squid.conf.default and i cant
find anything wrong... what am i missing?
Received on Thu Dec 21 2006 - 13:15:00 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST