DD-WRT firewall rule configuration

Posted by ddobie on Super User See other posts from Super User or by ddobie
Published on 2010-09-24T03:28:19Z Indexed on 2012/10/25 11:05 UTC
Read the original article Hit count: 146

Filed under:

I'm using DD-WRT on my linksys router.

I want to limit each user on my network to 200 connections at any given time. Does anyone know the rules I enter the firewall in DD-WRT admit panel.

I tried the following with no luck:

iptables -I FORWARD -s -d 192.168.1.0/24 -p tcp -m connlimit --connlimit-above 150 -j DROP

iptables -I FORWARD -s -d 192.168.1.0/24 -p udp -m connlimit --connlimit-above 50 -j DROP

© Super User or respective owner

Related posts about iptables