Community discussions

MikroTik App
 
grasstrimmer
just joined
Topic Author
Posts: 6
Joined: Tue Feb 21, 2012 7:05 am

Connections Limiting

Tue Feb 21, 2012 7:23 am

I am new to Mikrotik so I hope you can help me out. I am just starting to use a mikrotik RB493AH to control a small WISP. I have been using the bandwidth limiting but would like to set up a limit on connections per user. I find a list of active connections under IP/Firewall/connections but how do I limit each IP address to a given number of connections. Thanks
 
snowcrash
just joined
Posts: 12
Joined: Wed Aug 05, 2009 4:27 am

Re: Connections Limiting

Wed Feb 22, 2012 5:26 am

I use this rule to take the customers that have gone over 200 connections and add them to an address list, after they hit the address list i have anther rule that kicks in and lowers there connections down to like 20. This rule only applies to my private address, i do not run this rule against my customers with public ips.


add action=add-src-to-address-list address-list=connection \
address-list-timeout=30m chain=forward comment=\
"Connection tracking for NATED IPS ONLY" connection-limit=200,32 disabled=\
no protocol=tcp src-address-list=local-addr