Tuesday, October 12, 2010

Restrict or allow - IP, group of IP, or a network -in Squid

 Allow a network
acl our_networks src
http_access allow  our_networks           
Note: In squid the the syntax is some what like assigning the values to a veriable and then putting the rule 
in the above section our_networks  is the veriable and  the second line shows the rule 

like wise ...
Block a Network

acl other_networks src
http_access deny  other_networks

Allow some hosts
acl AllowedHost src 
http_access allow  AllowedHost

Deny SomeHosts

acl DeniedHost src  
http_access deny  DeniedHost

No comments:

Post a Comment