Page 1 of 1

CLI command for conntrack port range?

Posted: Sun Jun 16, 2019 5:12 am
by greek
Hi!
Help me find CLI-analog of this filter:
Image


How i can print connections with port range of dst-addresses?

Re: CLI command for conntrack port range?

Posted: Sun Jun 16, 2019 7:09 am
by greek
And also I am trying to find cli-command for this filter:

Image

Re: CLI command for conntrack port range?

Posted: Thu Jun 27, 2019 1:55 am
by greek
up!

Re: CLI command for conntrack port range?

Posted: Mon Jul 01, 2019 9:04 pm
by greek
Nobody knows?

Re: CLI command for conntrack port range?

Posted: Mon Jul 01, 2019 9:25 pm
by sebastia
there doesn't seem to be one for the ports
/system package print 
Flags: X - disabled 
 #   NAME                                              VERSION                                              SCHEDULED              
 0   system                                            6.45beta62

/ip firewall connection> print where 
.dead            connection-type  gre-key       orig-bytes              repl-bytes              reply-src-address
.id              dst-address      gre-protocol  orig-fasttrack-bytes    repl-fasttrack-bytes    seen-reply       
.nextid          dstnat           gre-version   orig-fasttrack-packets  repl-fasttrack-packets  src-address      
assured          dying            icmp-code     orig-packets            repl-packets            srcnat           
confirmed        expected         icmp-id       orig-rate               repl-rate               tcp-state        
connection-mark  fasttrack        icmp-type     protocol                reply-dst-address       timeout          

Re: CLI command for conntrack port range?

Posted: Mon Jul 01, 2019 9:33 pm
by pe1chl
NOT is expressed in commandline as !
When you want to find the commandline for anything, just apply it in winbox or webgui and do a /export and locate the corresponding command.