Page 1 of 1

reverse filter

Posted: Sun Feb 09, 2020 4:44 pm
by lacibsd
I'm trying to print traffic that does NOT including specific IP or port but couldn't seem to work
I'd like something like: all traffic from source or port X where destination it is NOT $ip, in Unix world you'd do grep -v
The followings does NOT work, what am I doing wrong?
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address!~"8.8.8.8"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address~!"8.8.8.8"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address!="8.8.8.8"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address=!"8.8.8.8"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address!~":53"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address~!":53"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address!=":53"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address=!":53"

Re: reverse filter

Posted: Mon Feb 17, 2020 3:40 am
by lacibsd
I'm still looking for the answer