Skip to content
Back home
The home of William Rendell
  • Home
  • Energy Stats
  • 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
  • Energy Stats
  • 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

Mount a Windows share from Centos using the CLI
Published February 17, 2010

Mount a Windows share from Centos using the CLI

OK, we live in the wonderful world of Linux. BUT, for many of us, having to deal with Windows is a fact […]

VIP Keepalived
Published February 2, 2026

VIP Keepalived

Set up a virtual IP on proxmox cluster apt updateapt install keepalived -y nano /etc/keepalived/keepalived.conf run this on all nodes on the […]

Cloud computing failure
Published July 1, 2012

Cloud computing failure

The outage to Instagram and other major sites shows that —despite massive hype and momentum in the Internet world —cloud computing isn’t […]

IIS redirects 301
Published March 5, 2010

IIS redirects 301

What you are trying to accomplish here is to have one resource (either a page or an entire site) redirect a visitor […]

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