Contoh ini menjelaskan bagaimana memblock websites dan bagaimana untuk stop download dari client
Pertama, Konfigure Proxy
/ip proxy enabled: yes src-address: 0.0.0.0 port: 8080 parent-proxy: 0.0.0.0:0 cache-drive: system cache-administrator: "webmaster" max-disk-cache-size: none max-ram-cache-size: none cache-only-on-disk: no maximal-client-connections: 1000 maximal-server-connections: 1000 max-object-size: 512KiB max-fresh-time: 3d
Sekarang, Buat Transparan proxy
/ip firewall nat chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8080
Pastikan proxy anda bukan open proxy
/ip firewall filter chain=input in-interface=<ether WAN loe> src-address=0.0.0.0/0 protocol=tcp dst-port=8080 / action=drop
nge-Block Website
/ip proxy access dst-host=www.wow.com action=deny
itu akan memblock client untuk mengunjungi website http://www.tuyul.com,
Kita juga bisa nyetop download file seperti .mp3, .exe, .dat, .avi,…dll.
/ip proxy access path=*.exe action=deny path=*.mp3 action=deny path=*.zip action=deny path=*.rar action=deny.
Coba dengan ini juga
/ip proxy access dst-host=:mail action=deny
0 Tanggapan ke “Blocking Situs Porno dan Download Pake Mikrotik Router”