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

Set AD Attributes
Published February 7, 2017

Set AD Attributes

You can also view and set these values with PowerShell, provided you have the ActiveDirectory module installed. View: Get-ADUser <username> -Properties extensionattribute1 […]

Enable SSH in ESXi 4
Published February 5, 2010

Enable SSH in ESXi 4

Requirements: You have to have direct access to console 1.) While you are at the console hit ALT + F1 2.) Type […]

Trim the maillog mysql db in mailscanner
Published December 3, 2010

Trim the maillog mysql db in mailscanner

From time to time the maillog in mysql grows to big and eats up all the space on my mail filter, the […]

SCP command local to remote location
Published October 19, 2021

SCP command local to remote location

scp -r /local/directory remote_username@ipaddress:/remote/directory

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