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 November 8, 2019

Add a Mikrotik user, using CLI or a script

The below can be used to add a local user to a Mikrotik using a script or at the CLI /user add […]

Virtualmin Bleeding Edge Packages
Published September 29, 2010

Virtualmin Bleeding Edge Packages

I have just been working on a site that needs PHP 5.2 or above. The stock  repositories for Centos that are provided by […]

Published June 20, 2024

Disable Mikrotik Interface based on volume of data

This is a simple and crude method to disable an interface based on the volume of data that has gone through it. […]

Windows XP File Association fixes
Published July 17, 2009

Windows XP File Association fixes

I have found a great site if you are having trouble with file extensions. http://www.dougknox.com/xp/file_assoc.htm The files listed here are all ZIP […]

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

© 2025  – All rights reserved

Powered by WP – Designed with the Customizr Theme