Community discussions

User avatar
just joined
Topic Author
Posts: 4
Joined: Thu Oct 18, 2018 1:38 am

Need help with a simple put

Thu Oct 18, 2018 1:43 am

Been securing all of my MikoTiks and updating the firmware to avoid the recent exploits.

I want to put a sanity check at the bottom of my hardening script to minimize errors being missed as it is starting to get pretty long.

I am currently trying the below to no avail.

if (/ip firewall filter find were dst-port=XXXX) do={put "Firewall Filter Rule for port XXXX is confirmed"}

I am new to MikroTiks in general so any help (including the easy stuff) would be greatly appreciated.
User avatar
Member Candidate
Member Candidate
Posts: 217
Joined: Thu Sep 21, 2017 7:16 pm
Location: Iraq, Ninavah

Re: Need help with a simple put

Mon Nov 12, 2018 10:30 pm

:if ( [/ip firewall filter find where dst-port=XXXX] !="" ) do={:put "Firewall Filter Rule for port XXXX is confirmed"}

Who is online

Users browsing this forum: No registered users and 6 guests