connection limit on a port

I’m trying to limit the number of connections of a client (say 10.100.10.16) on a port (say 411) at 12 connections. I’ve enabled connection tracking and I’ve tryed lots of rules and all they give me is a headache. HELP!!! give me the exact line please :smiley:

Note, that you can set limit only for TCP, you may use the third rule from this menu,
http://www.mikrotik.com/testdocs/ros/2.9/ip/filter.php

It does NOT work :frowning:
limit.JPG

you need another rule right below it to drop everything else on that port.

Sam

As much I understand, that doesn’t make sense. Now, can anyone give me a line that can limit the connection number of a client on a certain port?

/ip firewall filter add action=drop chain=forward comment=“” connection-limit=13,32 disabled=no dst-port=411 protocol=tcp src-address=10.100.10.16 tcp-flags=syn

-Louis