by k3c04k2000

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
Iklan

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

Awan Tag

%d blogger menyukai ini: