1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

limit connections per user

Discussion in 'Networking Issues' started by zyxwvutsr, Jun 29, 2008.

  1. zyxwvutsr

    zyxwvutsr Guest

    I want to limit the number of connections (regardless of whether it's tcp,udp,...) to 250 per user (unrealistic number?) on my wrt54gl router w/tomato 1.19.

    would this script work? is the "--syn" necessary?
    iptables -I FORWARD --syn -m iprange --src-range -m connlimit --connlimit-above 250 -j DROP

    Thanks in advance for any advice you guys can give.

Share This Page