Page 1 of 1

Connection limiting within winbox

Posted: Thu Feb 02, 2006 6:20 pm
by rickashe
I'm using Mikrotik 2.9 as my main router for a 300 client wireless network. I want to limit total connections per IP to 25. I am reasonably new to Mikrotik and am quite good with WinBox but not the ssh or telnet client.

Can someone please give me instructions on how to limit each individual IP address on my internal network to 25 simultanious connections.

ie: i want 192.168.1.1/32 to only be able to have 25 connections at any one time and the same for every other customer on the network.

Again if someone knows the script for this I would appreciate their desire to help but it would be useless to me, I need instructions on how to do this within WinBox Ver. 2.9.11

I hope I'm not being to picky in my request,

Thanks in advance,

Rick Ashe

Posted: Thu Feb 02, 2006 6:39 pm
by raenius
I think this is how you can do that.
ip firewall filter add action=drop connection-limit=25,32 protocol=tcp tcp-flags=syn, chain=forward 

Many thanks

Posted: Thu Feb 02, 2006 7:11 pm
by rickashe
You are a wonderful person and I am very grateful for you help. If this works it will get me out of a huge hole.

Thanks again

Rick Ashe

Posted: Thu Feb 02, 2006 7:45 pm
by savage
Well if you don't specify a src-address, src-port, dst-addres, or dst-port, then the rule applies to all addresses. So it should work...