Squid: http_port to outgoing_address
2011-08-15 by xpheas
My Squid server has 4 public IP-adresses and 4 private adresses. Each private address should map to a public one.
First add the private ones:
Now define the ACL's
And finally define the outgoing addresses:
First add the private ones:
BASH-Code:
| http_port 192.168.1.1:3128 http_port 192.168.1.2:3128 http_port 192.168.1.3:3128 http_port 192.168.1.4:3128 |
Now define the ACL's
BASH-Code:
| acl src_01 myip 192.168.1.1 acl src_02 myip 192.168.1.2 acl src_03 myip 192.168.1.3 acl src_04 myip 192.168.1.4 |
And finally define the outgoing addresses:
BASH-Code:
| tcp_outgoing_address 93.xx.xx.52 src_01 tcp_outgoing_address 93.xx.xx.53 src_02 tcp_outgoing_address 93.xx.xx.54 src_03 tcp_outgoing_address 93.xx.xx.55 src_04 |
« back
2018-04-25 by Amandine
Hello, what is the use of this command? I'm in the same situation as you, but I want my outgoing Squid packets to go to my 4 public IPs.