Jump to content
Калькуляторы

Что я делаю не так? ( print where )

[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

Share this post


Link to post
Share on other sites

Возможно disable поможет

Share this post


Link to post
Share on other sites

Грузите апельсины бочками

Share this post


Link to post
Share on other sites

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

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

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this