You are on page 1of 3

How to Block Websites & Stop Downloading Using Proxy

How to Block Websites & Stop Downloading Using Proxy


This example will explain you How to Block Web Sites & How to Stop Downloading. First, Configure Proxy. /ip set set set set set set set set set set set set set set proxy enabled=yes src-address=0.0.0.0 port=8080 parent-proxy=0.0.0.0 parent-proxy-port=0 cache-administrator="webmaster" max-cache-size=none cache-on-disk=no max-client-connections=600 max-server-connections=600 max-fresh-time=3d always-from-cache=no cache-hit-dscp=4 serialize-connections=no

Now, Make it Transparent


/ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=dst-nat to-addresses=<Your LAN IP for the Router> to-ports=8080

Make sure that your proxy is NOT a Open Proxy /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 Now for Blocking Websites /ip proxy access add dst-host=www.vansol27.com action=deny It will block website http:/ / www. vansol27. com, We can always block the same for different networks by giving src-address. It will block for particular source address. We can also stop downloading files like.mp3, .exe, .dat, .avi,etc. /ip add add add add proxy access path=*.exe action=deny path=*.mp3 action=deny path=*.zip action=deny path=*.rar action=deny.

Try with this also

How to Block Websites & Stop Downloading Using Proxy /ip proxy access add dst-host=:mail action=deny This will block all the websites contain word mail in url. Example: It will block www.hotmail.com, mail.yahoo.com, www.rediffmail.com ENJOY BLOCKING.

Article Sources and Contributors

Article Sources and Contributors


How to Block Websites & Stop Downloading Using Proxy Source: http://wiki.mikrotik.com/index.php?oldid=19173 Contributors: Ashish, Kirshteins, Normis, Srubio

You might also like