Hi all
I'm running Squid Cache: Version 2.5.STABLE1 on a FreeBSD 4.7-RELEASE on
which i have 2 nic's rl0 & rl1. On rl0 i have a public ip address and on
rl1 I have a private 10.20.30.0/24.
Now i've added a 3rd nic rl2 which has an ADSL router connected to it.
the adsl has the ip of 192.168.1.1 and it gave rl2 192.168.1.5.
What I wanted to do is use squid's tcp_outgoing_address to divide
traffic by splitting the private ip class 10.20.30/24 with squid's acl's.
here is an example of what i did:
acl private_net src 10.20.30.0/255.255.255.0
acl important_hosts src 10.20.30.150
acl important_hosts src 10.20.30.154
acl important_hosts src 10.20.30.157
acl important_hosts src 10.20.30.158
....
http_access allow private_net
http_access allow important_hosts
tcp_outgoing_address 192.168.1.5 important_hosts
tcp_outgoing_address "my rl0 public address"
However this does not work. The private_net works just fine, but the
important_hosts just time out.
I've tired to set the adsl's 192.168.1.1 as the default route on my fbsd
and add the my rl0 public address as a alternate tcp_outgoing_address,
and the same thing happens. Now the important_hosts have internet but
the private_net times out.
How do I go about this? I'm I missing something in squid's conf or is this
a routing problem?
10 ahead,
-- <>Received on Sun Nov 14 2004 - 08:19:24 MST
This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST