Matt wrote:
I am installing Squid 2.6STABLE on CentOS 4.4. I want to have our
Mikrotik router DST-NAT all port 80 requests to it and use it as a
transparent cache.
Anyway I am hung up on access control. This was easy on Mikrotik
integrated cache.
#allow my IP pools on port 80
src-address=12.1.1.0/24 dst-port=80 action=allow
src-address=12.1.3.0/24 dst-port=80 action=allow
#deny all else
action=deny
How do I accomplish this in the Squid config?
Also, if I DST-NAT all port 80 traffic to the linux box Squid is
running on do I need to config anything special in the Linux kernel?
Thanks.
Matt
The FAQ is your friend...
http://wiki.squid-cache.org/SquidFaq/InterceptionProxy#head-e826e98e3db89dd81cf2b48da8c2f59688e6be4a
for the interception cache part and
http://wiki.squid-cache.org/SquidFaq/SquidAcl#head-c87419712cac704d01cecc7da11cd02f489b6986
for the ACLs
As for Kernel modifications, I think as long as you have allowed IP
Forwarding (is that even a Kernel setting? It's been so long since I
compiled my own...) you should be good to go.
Chris