Skip to content

Pratama Digital

Your Digital Partner

Menu
  • Home
  • Download Area
  • Pratama Digital Net
  • Internet Speed Test
  • About Us
Menu

Block Ads Through Mikrotik Firewall Raw

Posted on February 8, 2024

To combat disruptive ads while browsing the internet, you can simply add the following list and rules to your Mikrotik router.

Firstly, add the following address list:

/ip firewall address-list

add address=analytics.google.com list=Ads
add address=clientmetrics-pa.googleapis.com list=Ads
add address=google-analytics.com list=Ads
add address=googleadservices.com list=Ads
add address=googlesyndication.com list=Ads
add address=l.google.com list=Ads
add address=adservices.google.com list=Ads
add address=wintricksbanner.googlepages.com list=Ads
add address=ads.youtube.com list=Ads
add address=ads.yahoo.com list=Ads
add address=ads.yimg.com list=Ads
add address=adserver.yahoo.com list=Ads
add address=analytics.yahoo.com list=Ads
add address=marketingsolutions.yahoo.com list=Ads
add address=visit.webhosting.yahoo.com list=Ads
add address=ientrymail.com list=Ads
add address=newopenx.detik.com list=Ads
add address=ads.kompass.com list=Ads
add address=kompasads.com list=Ads
add address=googleads.g.doubleclick.net list=Ads

Once added, implement the following rule into the raw firewall:

/ip firewall raw

add chain=prerouting action=accept log=no log-prefix=”” src-address-list=!Ads

After saving these changes, try browsing and feel the difference. Happy experimenting!

Share this:

  • Facebook
  • X

Related

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • 10 Powerful Alternatives to MikroTik for Small to Enterprise Networks
  • LDAP: A Guide for Linux System Administrators
  • Virtual Private Server (VPS): A Guide for Beginners
  • Forward Ports on Your Router for Online Games
  • MikroTik RouterOS 6 vs. RouterOS 7: Key Differences, Advantages, and Disadvantages

Tags

24h clock adobe adobe cc adobe cs master almalinux arduino autodesk basic ip address cad software calculator php connect java dns server download photoshop ecmp formula ipv4 innodb install iptables ipsec iptables java mysql linux firewall linux mint linux security load balance microsoft office myisam mysql mysql engine node.js nodejs nth office alternative openvpn pcc php port game online port mikrotik postgresql postgresql to mysql public dns rocky linux running text script php ubuntu LTS wireguard

Categories

  • Advertising
  • CAD software
  • Computer Component
  • Control Panel
  • Database
  • DNS
  • Download
  • File Server
  • Firewall
  • Graphic Design
  • Internet
  • IP Address
  • Linux OS
  • Load Balance
  • Mikrotik
  • Movie
  • Novel/Book
  • Office
  • OpenWRT
  • Processor & GPU
  • Programming
  • Routing
  • Security
  • Server
  • Tutorial
  • Video Editing
  • VPN
  • Web Programming
  • Windows OS
  • Wordpress

About Us

We are a company specializing in network configuration, MikroTik and computer installation services, as well as wifi setup. With experience dating back to 2017, we have gained the trust of numerous clients from various regions who rely on our services. Our expertise extends to catering to personal, office, institutional, and industrial needs.

Archives

  • December 2024
  • September 2024
  • June 2024
  • May 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023

Recent Posts

  • 10 Powerful Alternatives to MikroTik for Small to Enterprise Networks
  • LDAP: A Guide for Linux System Administrators
  • Virtual Private Server (VPS): A Guide for Beginners
  • Forward Ports on Your Router for Online Games
  • MikroTik RouterOS 6 vs. RouterOS 7: Key Differences, Advantages, and Disadvantages
©2025 Pratama Digital | Design: Newspaperly WordPress Theme