Searching...
Senin, 15 April 2013

Blokir Situs Porno dengan Squid Proxy

04.25

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

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.