Search squid archive

tcp_outgoing_address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux