Blokir per IP-Address dengan file external :
acl yesporn src 192.168.0.153
acl noporn src 192.168.0.3
acl block url_regex -i "/usr/local/etc/squid/block.txt"
http_access deny noporn block
http_access allow yesporn
http_access allow noporn\
Blokir langsung dengan regex :
acl blokir-kata url_regex -i memek adult ngaceng bokep porno xxx mrxx mrxxx xxtube xxxtube #dll di lanjutne dewe2
http_access deny blokir-kata
Blokir satu network langsung :
==========================
acl localnet src 192.168.0.0/24
acl situs url_regex -i "/etc/squid/blok_situs.txt"
http_access deny localnet situs
http_access allow localnet
==========================
0 komentar:
Posting Komentar