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 15, 2021

Remote Failover testing

The below is to be used in a script to test failover based on firewall rules

Zyxel P660 – Removing secured web IP
Published January 20, 2014

Zyxel P660 – Removing secured web IP

If you have locked down the web management port to 1 IP address and you need to access it from a different […]

TCPDUMP to sniff headers
Published October 11, 2013

TCPDUMP to sniff headers

This tcpdump command will grab the first 1024 bytes (vs. smaller 68 or so) and line buffer the output for all packets […]

Remove a folder in Linux
Published October 10, 2014

Remove a folder in Linux

This is the command to remove a folder/directory including its contents, use with caution as you wont get an “are you sure” […]

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