Results 1 to 1 of 1
Hi, I am trying to install a squid proxy on my Linux 2.6.9-55.0.12.EL server. I have got 3 eth interfaces on the server. All I wana do is to pass ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-25-2008 #1
- Join Date
- Mar 2008
squid configuration, multiple eth interfaces
I am trying to install a squid proxy on my Linux 2.6.9-55.0.12.EL server. I have got 3 eth interfaces on the server. All I wana do is to pass on the same IP address to the remote website through squid that I made the request with.
So for example I had ip3 (10.10.10.3) in my browser proxy settings. The squid should not pass on the main IP of the server to the remote host. It should pass ip3.
These are the changes i've made in squid.conf. It only works if I access it using localhost as proxy. If i use a different IP if gives me Access Denied error. Could anyone please have a look and tell me what i've done wrong. This is my first time setting up a squid btw so sorry if i could not explain anything properly.
acl in_10_10_10_1 myip 10.10.10.1
tcp_outgoing_address 10.10.10.1 in_10_10_10_1
acl in_10_10_10_2 myip 10.10.10.2
tcp_outgoing_address 10.10.10.2 in_10_10_10_2
acl in_10_10_10_3 myip 10.10.10.3
tcp_outgoing_address 10.10.10.3 in_10_10_10_3
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access allow localhost
http_access deny all