How to Block Sites and File Extensions With MikroTik Web Proxy

how much ram does a pc need today.

 How to Block Sites and File Extensions With MikroTik Web Proxy


MikroTik Proxy Web


Surely we are familiar with Proxy. How to Block a Site and File Extension on MikroTik, one of which we can use the Web Proxy feature on MikroTik. As we know Proxy is an intermediary that acts as an intermediary for requests from clients seeking resources from other servers. While a Web Proxy is one method to hide your IP address from the websites you visit. A Web Proxy is similar to a search engine, so it is very easy to access. When you use an online proxy, the websites you visit cannot see your current location. actually because the proxy makes it look like you guys are accessing the page from somewhere else.


Web Proxies act as a shield between you and the websites you visit. When you view a web page via Web Proxy, the website sees that a certain IP address is accessing its server, but that address is not yours because all the web traffic between your computer and the web server is first passed by the proxy server. In this article, we will discuss how to block sites and file extensions with a MikroTik Web Proxy. Here's an explanation.


Also Read: How To Make An Internet Gateway With MikroTik

TABLE OF CONTENTS

1. How to Block Sites & File Extensions on MikroTik

2. Conclusion


How to Block Sites & File Extensions on MikroTik


1. First, so that there is no need to configure the Web Browser client one by one, we change the Mikrotik web-proxy so that it functions as a Transparent Proxy. That is by using the NAT feature to divert all HTTP browsing traffic (tcp 80) originating from the client to the internal Web Proxy feature. To make it, you enter the IP menu > Firewall > NAT > +


Firewall Nat Web Proxy Configuration


2. After that you set it on the General menu, in the Chain section it becomes dstnat, then the protocol section uses 6 (tcp), then in the Etc. section. Port uses port 80Â .For the In. Interface you can choose which interface you want to use. Next you go to the Action menu, then in the Action section fill it with a redirect and in the To Port section you fill in 8080 which is the default Web Proxy port


Nat Web Proxy Firewall Settings


3. Then you activate the service from the Web Proxy by entering the IP menu -> Web Proxy by clicking the box button on the Enable section so that it is checked. Then you can also check the Cache on Disk section to store content on a website and give it back to the client if someone accesses the same content, so there is no need to directly take it from the internet and use bandwidth.


MikroTik Web Proxy Enable

4. Next, to block your website, go to the Web Proxy menu > Access > +, for example, we will block the www.playboy.com site so that it cannot be accessed by clients. Namely in the Etc. Your host fills in the site you want to block, for example *playboy*Â then in the action section select deny. the Redirect To parameter, the blocked site will be redirected to the MikroTik Administrator web.


Block MikroTik Website


5. Next you add a new Web Proxy Access rule to block File Extensions. For example, we will block websites that use pdf. That is, you fill in the path section with the type of extension you want to block, for example *.pdf*Â then the same in the action section select deny. Same as before if you want the site to be redirected then use the Redirect To parameter.


Block MikroTik Extension Files


6. Finally, try the configuration results by entering the url of the site that you have blocked. If the site redirects then the configuration has been successful.


Conclusion


So How To Block Sites And File Extensions With A MikroTik Web Proxy. You just need to configure the NAT and Web Proxy sections. And you need to know if you use this Web Proxy feature you can only block sites that use the HTTP Protocol so if you block HTTPS sites in the MikroTik Web Proxy feature it won't work.

4. Next, to block your website, go to the Web Proxy menu > Access > +, for example, we will block the www.playboy.com site so that it cannot be accessed by clients. Namely in the Etc. Your host fills in the site you want to block, for example *playboy*Â then in the action section select deny. the Redirect To parameter, the blocked site will be redirected to the MikroTik Administrator web.


Block MikroTik Website


5. Next you add a new Web Proxy Access rule to block File Extensions. For example, we will block websites that use pdf. That is, you fill in the path section with the type of extension you want to block, for example *.pdf*Â then the same in the action section select deny. Same as before if you want the site to be redirected then use the Redirect To parameter.


Block MikroTik Extension Files


6. Finally, try the configuration results by entering the url of the site that you have blocked. If the site redirects then the configuration has been successful.


Conclusion


So How To Block Sites And File Extensions With A MikroTik Web Proxy. You just need to configure the NAT and Web Proxy sections. And you need to know if you use this Web Proxy feature you can only block sites that use the HTTP Protocol so if you block HTTPS sites in the MikroTik Web Proxy feature it won't work.

Hopefully, this article about How to Block Sites and File Extensions With MikroTik Web Proxy, gives you a little insight. Also, read an article about How to Block Sites on MikroTik Layer 7 Protocol that you may need to know. Thank you.

Previous Post Next Post