Jump to content

Recommended Posts

Posted
[lion@rb_bus_008] > ip firewall filter print where chain=input and action=drop                  
Flags: X - disabled, I - invalid, D - dynamic 
 0    chain=input action=drop protocol=tcp dst-port=8728 

 1    chain=input action=drop connection-state=invalid 

 2    chain=input action=drop 
[lion@rb_bus_008] > ip firewall filter print detail where chain=input and action=drop and protocol=tcp and dst-port=8728
Flags: X - disabled, I - invalid, D - dynamic 
[lion@rb_bus_008] > 

Изначально хотел /ip firewall filter remove [find where условие], но результат тот-же - не удаляет

 

MikroTik RouterOS 6.42.12

Posted

Добрые люди на официальном форуме помогли. Вобщем нужно искомые значения в кавычках задавать, тогда фильтры работают:

[lion@rb_bus_008] > ip firewall filter print where protocol="tcp" and src-address="10.0.24.0/21"
Flags: X - disabled, I - invalid, D - dynamic 
 0    chain=input protocol=tcp src-address=10.0.24.0/21 dst-port=22 
[lion@rb_bus_008] > 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...