Search squid archive

acl for a few sites onyl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Could you write me an example how to write correct acl's which allowing 
only a few sites (from file) and block all www sites ? Only selected 
pages and nothing else should be available .

Why when I # default acl eg. "http_access allow all" my squid after 
reload reports error ?

acl allowedsites dstdomain -i "/etc/squid/dozwolone.txt"
acl allowedcomputers src 192.168.0.3 192.168.0.6 192.168.0.17 
192.168.0.12 192.168.0.15 192.168.0.16
acl mail dstdom_regex .*poczta.* .*mail.*

http_access allow allowedsites allowedcomputers !mail
#http_access allow all
http_access allow localnet
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
#http_access deny all
http_access deny localnet
#icp_access allow all
icp_access allow localnet



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux