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

find large files in linux
Published November 27, 2009

find large files in linux

find <path> -size +10000k -print0 | xargs -0 ls -l http://linuxandfriends.com/2008/09/10/how-to-find-large-files-in-linux-using-command-line/

Change Chrome’s cache location
Published July 18, 2011

Change Chrome’s cache location

If you amend the shortcut for chome by appending this at the end of chrome.exe –user-data-dir=”type the full path of your own cache folder […]

Published January 28, 2021

Time based PPP connections

If you have a user that can only log into a PPP (L2TP, PPTP etc) session on a Mikrotik during a certain […]

NRPE config file on Centos
Published October 12, 2014

NRPE config file on Centos

/usr/local/nagios/etc/nrpe.cfg

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