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 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 […]

Published February 28, 2010

Install ssh client on Linpus

Linpus on an Acer Aspire One netbook, does not ship with an SSH client. To be fair its not probably needed by […]

Simple Backup Script
Published November 11, 2009

Simple Backup Script

This is a simple backup script using a batch file, it writes to a log file, sends the log file by email […]

Mount a Windows share in Centos 6
Published March 31, 2014

Mount a Windows share in Centos 6

mkdir /mnt/win yum install samba-client samba-common cifs-utils Edit theĀ /etc/fstabĀ file and add a line like: \\winbox\getme /mnt/win cifs user,uid=500,rw,suid,username=sushi,password=yummy 0 0

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