Showing posts with label web proxy. Show all posts
Showing posts with label web proxy. Show all posts

Wednesday, November 26, 2014

Web Blocking (Web Proxy Mikrotik)

Web blocking menggunakan MikroTik Web Proxy,

So far jalan untuk melakukan blok port 80 & 8080 (WEB)
Tidak berfungsi bila web yang di tuju menggunakan HTTPS
Bbrp download tidak bisa berfungsi bila klien memakai IDM

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

/ip firewall filter
add chain=input in-interface=<Your WAN Port> src-address=0.0.0.0/0 protocol=tcp dst-port=8080 action=drop

/ip proxy set always-from-cache=no cache-administrator=webmaster cache-hit-dscp=4 cache-on-disk=no enabled=yes max-cache-size=none max-client-connections=600 max-fresh-time=3d max-server-connections=600 parent-proxy=0.0.0.0 parent-proxy-port=0 port=8080 serialize-connections=no src-address=0.0.0.0

/ip proxy access add action=deny disabled=no dst-port=80 dst-host=*porno* redirect-to=www.google.com

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

Copy Paste aja rulenya..,
Sisanya tinggal coba2 sendiri kalo mao eksperimen blok web2 tertentu..