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 September 25, 2012

Delete a nat rule in iptables

First of all I list all the rules including line numbers like this; iptables -L -t nat –line-numbers I then look at […]

Published November 8, 2020

Function of the Mikrotik Firewall

Stop unathorised access Block unwanted ports Classify and mark connections and packets for QOS or Routing Policy Firewall Functions: Filter packets using […]

Import into MySQL database
Published September 20, 2010

Import into MySQL database

If you have a MySql database that you want to import (pipe) into another server, as long as you have the filename.sql […]

Published October 7, 2010

Delete MAILER-DAEMON emails from the postfix queue

I often am faced with deleteing mails from MAILER-DAEMON that are going to non existant domains in my Postfix queue. Rather than […]

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