Page 1 of 1
connection limit on a port
Posted: Thu Mar 06, 2008 5:29 pm
by valypetre
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
Re: connection limit on a port
Posted: Fri Mar 07, 2008 3:34 pm
by sergejs
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
Re: connection limit on a port
Posted: Sat Mar 08, 2008 4:50 pm
by valypetre
It does NOT work
Re: connection limit on a port
Posted: Sat Mar 08, 2008 6:49 pm
by changeip
you need another rule right below it to drop everything else on that port.
Sam
Re: connection limit on a port
Posted: Sun Mar 09, 2008 11:28 am
by valypetre
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?
Re: connection limit on a port
Posted: Sun Mar 09, 2008 11:53 am
by Letni
/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