Skip to content
Back home
The home of William Rendell
  • Home
  • Family
    • Holidays
    • Pets
    • Vehicles
  • Health and Fitness
  • Technical
    • Mikrotik
    • Computing
    • Renewable Energy
  • Privacy Policy
    • Cookie policy (UK)
  • Music
    • Harmonica
      • Easy
      • Intermediate
  • Contact
  • Search
Back home
  • Search
  • Home
  • Family
    • Holidays
    • Pets
    • Vehicles
  • Health and Fitness
  • Technical
    • Mikrotik
    • Computing
    • Renewable Energy
  • Privacy Policy
    • Cookie policy (UK)
  • Music
    • Harmonica
      • Easy
      • Intermediate
  • Contact
Home » Technical » Mikrotik » Enable Mikrotik firewall rule using comment field
Mikrotik Technical

Enable Mikrotik firewall rule using comment field

by William Rendell|Published November 4, 2019

The below can be used in a schedule or script to control rules, just change “enable” to “disable” to disable the rule and “BlockKids” is the comment so change to suit your needs.

/ip firewall filter enable [find comment=”BlockKids”];

  • Firewall
  • Mikrotik
  • Router
  • Routerboard
  • Schedule

You may also like

Published March 24, 2022

Disable unused Mikrotik Ports with one command

interface/ethernet/set [find where !running ] disabled=yes

301 Redirect using PHP
Published September 15, 2010

301 Redirect using PHP

Using php you can permanently redirect one URL to another, using the below code in a php file; <?php header(“HTTP/1.1 301 Moved […]

How to Open Port for a Specific IP Address in Firewalld
Published July 8, 2022

How to Open Port for a Specific IP Address in Firewalld

The best way is to create a new firewalld zone and we add the specific IP to that zone. To start with […]

Published December 2, 2022

Block access to Facebook on Mikrotik

These are the domains to harvest IP addresses for; .facebook.com.fbcdn.net.facebook.net Add your local src IP Subnet to the rule below, then repeat […]

Post navigation

  • Previous post Reprogram New MINI Keys R50/52/53
  • Back to post list
  • Next post Add a Mikrotik user, using CLI or a script

© 2026  – All rights reserved

Powered by WP – Designed with the Customizr Theme