Mikrotik : Script blokir facebook di mikrotik 3.xx


Pertama mengaktifkan Proxy di Mikrotik,Kalo sudah di setting lewati saja langkah ini.

/ip proxy
enabled: yes
src-address: 0.0.0.0
port: 8080
parent-proxy: 0.0.0.0:0
cache-drive: system
cache-administrator: “panakleak”
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

Langkah 2

Jika anda ingin web proxy anda transparent:

/ip firewall nat
chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8080

Block agar proxy anda tidak open proxy:

/ip firewall filter
chain=input in-interface= src-address=0.0.0.0/0 protocol=tcp dst-port=8080 action=drop

Langkah 3

Setting untuk Block Situs

/ip proxy access
dst-host=www.xxx.com action=deny (nama situs disesuaikan dengan situs yang ingin anda block)

Jika ingin melakukan blocking berdasarkan kata kata dalam konten url

/ip proxy access
dst-host=:porno action=deny (settingan ini akan melakukan block terhadap situs yang mengandung kata “porno”)

Langkah 4

Membatasi download untuk file tertentu

/ip proxy access
path=*.exe action=deny
path=*.mp3 action=deny
path=*.zip action=deny
path=*.rar action=deny

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: