Community discussions

MikroTik App
 
rickashe
just joined
Topic Author
Posts: 17
Joined: Tue Oct 18, 2005 4:39 pm
Location: Dublin, Ireland

Connection limiting within winbox

Thu Feb 02, 2006 6:20 pm

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
 
User avatar
raenius
just joined
Posts: 13
Joined: Thu Dec 29, 2005 12:15 am

Thu Feb 02, 2006 6:39 pm

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 
 
rickashe
just joined
Topic Author
Posts: 17
Joined: Tue Oct 18, 2005 4:39 pm
Location: Dublin, Ireland

Many thanks

Thu Feb 02, 2006 7:11 pm

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
 
savage
Forum Guru
Forum Guru
Posts: 1264
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Thu Feb 02, 2006 7:45 pm

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...

Who is online

Users browsing this forum: Julien, prawira and 101 guests