Skip to content Skip to sidebar Skip to footer

Configuring Reverse Proxy With MikroTik RouterOS

Are you looking to block file extensions on your mikroTik router? Well, it's possible with the help of a web proxy server. In this post, we'll explain how you can block certain file extensions using a web proxy server on your mikroTik router.

Screenshot 1

Here are the steps you need to follow to block file extensions using a web proxy server on your mikroTik router:

Step 1: Create a Web Proxy Access Rule

The first step is to create a web proxy access rule. To do this, you need to open the Winbox software and go to IP > Web Proxy. In the web proxy window, click on the "Access" tab, and then click on the "+Add" button to create a new access rule.

Once you have clicked on the "+Add" button, a new window will open. In this window, you need to enter the following information:

  • Action: Deny
  • Src. Address: 0.0.0.0/0
  • Dst. Host: 0.0.0.0/0
  • Redirect to: (Leave this field blank)
  • Protocol: TCP
  • Dst. Port: 80

Once you have entered all the required information, click on the "OK" button to save the access rule.

Step 2: Create an IP Firewall Filter Rule

The next step is to create an IP firewall filter rule. To do this, you need to open the Winbox software and go to IP > Firewall. In the firewall window, click on the "Filter Rules" tab, and then click on the "+Add" button to create a new filter rule.

Once you have clicked on the "+Add" button, a new window will open. In this window, you need to enter the following information:

  • Chain: Forward
  • Src. Address: (Leave this field blank)
  • Dst. Address: (Leave this field blank)
  • Protocol: TCP
  • Dst. Port: 80
  • Action: Jump
  • Jump to: Web Proxy Access
  • Connection state: New

Once you have entered all the required information, click on the "OK" button to save the filter rule.

Step 3: Create Web Proxy Filter Rule

The final step is to create a web proxy filter rule. To do this, you need to open the Winbox software and go to IP > Web Proxy. In the web proxy window, click on the "Filter" tab, and then click on the "+Add" button to create a new filter rule.

Once you have clicked on the "+Add" button, a new window will open. In this window, you need to enter the following information:

  • Action: Deny
  • Src. Address: (Leave this field blank)
  • Dst. Host: (Leave this field blank)
  • File Extension(s): Enter the file extension you want to block. For example, if you want to block .zip files, enter "*.zip".
  • Redirect to: (Leave this field blank)

Once you have entered all the required information, click on the "OK" button to save the filter rule.

With the above steps, you should now be able to block certain file extensions on your mikroTik router with ease. However, if you are still experiencing issues, you can try the following tips to troubleshoot the problem:

Troubleshooting Tips

  1. Make sure the web proxy server is enabled: To check if the web proxy server is enabled, go to IP > Web Proxy and make sure the "Enabled" box is checked. If it is not, check the box and click on the "Apply" button to save the changes.
  2. Make sure the firewall rules are correct: Double-check the firewall rules and make sure you have entered all the required information correctly. If you have made any mistakes, correct them and click on the "OK" button to save the changes.
  3. Make sure the filter rules are correct: Double-check the filter rules and make sure you have entered all the required information correctly. If you have made any mistakes, correct them and click on the "OK" button to save the changes.
  4. Check the logs: You can check the logs to see if there are any errors or issues. To do this, go to Logs > Web Proxy and check for any error messages.

In conclusion, blocking file extensions on your mikroTik router is not difficult as long as you follow the steps outlined in this post. We hope this post has been helpful, and if you have any questions or suggestions, please feel free to leave a comment below.

Configuring the reverse proxy
proxy kerio control reverse configuring apply click server


MikroTik Load Balancing over Multiple Gateways (2 WAN) - YouTube
mikrotik wan multiple load balancing gateways


Memblokir ekstensi file pada mikroTik dengan web proxy - siBunglonLab's
mikrotik


Proxy on RouterBOARD's external drive - MikroTik Wiki
proxy mikrotik external configuration drive routerboard wiki redirect forward command line rule disk



Post a Comment for "Configuring Reverse Proxy With MikroTik RouterOS"