Web Filtering Menggunakan Firewall Filter - MIKROTIK TUTORIAL [ENG SUB]
Table of Contents
Introduction
In this tutorial, we will explore how to implement web filtering using the Firewall Filter feature on MikroTik routers. This allows you to control which websites can be accessed through your network, enhancing security and maintaining focus in a work environment. By establishing rules, you can allow only specific websites, such as company resources, while blocking others.
Step 1: Access the MikroTik Router Interface
- Open your web browser.
- Enter the IP address of your MikroTik router (usually 192.168.88.1 or 192.168.1.1).
- Log in using your credentials (default is usually admin with no password).
Step 2: Navigate to the Firewall Filter Section
- On the left sidebar, find and click on IP.
- From the dropdown, select Firewall.
- Click on the Filter Rules tab to access the firewall filtering options.
Step 3: Create a New Filter Rule
- Click on the Add New button (often a plus sign).
- In the new window, configure the following
- Chain: Select
forward
to filter traffic going through the router. - Src. Address: Leave it blank to apply it to all users or specify an IP range if needed.
- Dst. Address: Use this field to specify the IP of the website you want to allow (for whitelisting) or to block.
Step 4: Define Action for the Filter Rule
- In the same window, locate and set the Action dropdown.
- Choose
accept
to allow traffic to the specified website. - To block a website, create a separate rule with the same settings but select
drop
as the action.
Step 5: Set Up Additional Rules as Needed
- Repeat Steps 3 and 4 to add more rules for different websites.
- Ensure you order the rules correctly, as MikroTik processes them in top-down order. Place your allow rules above block rules.
Step 6: Test the Filter Rules
- After configuring your rules, test the settings
- Try to access the allowed websites to confirm they are reachable.
- Attempt to access blocked sites to ensure they cannot be accessed.
Step 7: Monitor and Adjust Rules
- Regularly review the Filter Rules to ensure effectiveness.
- Adjust actions or add new rules as necessary based on user feedback or changing needs.
Conclusion
By following these steps, you can effectively utilize the Firewall Filter feature on MikroTik to control web access within your network. This web filtering capability is useful for maintaining productivity and ensuring secure browsing. Consider documenting your rules and settings for future reference and updates. For further learning, explore additional MikroTik features and consult the provided resources for advanced configurations.