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 June 18, 2020

SSH from one Mikrotik to another

OverviewRouterOS provides SSH client that supports SSHv2 logins to SSH servers reachable from the router. RequirementsFor this command to be available router […]

Change Nagios web users password
Published September 7, 2022

Change Nagios web users password

htpasswd -c /etc/nagios/htpasswd.users nagiosuser Then enter new password for nagiosuser

What version of Centos is my server running?
Published February 3, 2015

What version of Centos is my server running?

This post shows how to find out what version of Centos you are running from the command line. tail /etc/redhat-release This will […]

Subnet Mask Cheat Sheet
Published June 4, 2013

Subnet Mask Cheat Sheet

The below table shows the amount of hosts that are on a particular subnet.

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