On Fri, 22 Apr 2005, it clown wrote:
Hi all,
I have 2 subnets and i have added squid to listen on the two networks for connections:
http_port 192.168.0.1:3128 http_port 192.168.1.1:8080
How do i restrict 192.168.0.1 to use 192.168.1.1:8080 to connect to the internet? it must only use 192.168.0.1:3128 to connect to the internet.
See the myip/myport ACL types. These matches the IP and portnumber respectively of the http_port where the request was accepted.
Also see the Squid FAQ Chapter 10 Access Controls.
Regards Henrik