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:
BASH-Code:
1
2
3
4
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:
1
2
3
4
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:
1
2
3
4
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

Feel Free to Leave a Comment

Name:*


Email: (not visible)


Website:


Comment:*