limiting connections

Don Bowman don at SANDVINE.com
Mon Jan 10 14:35:47 PST 2005


From: Carl Mark
> Hello folks,
> 
> I'm trying to set up a ruleset that limits every user to X 
> tcp connections, since I have 300 active users on each 
> server. I've been trying to work it out with the ipfw limit 
> but I really don't know how effective it is.
> 
> For example:
> 
> ipfw -q add 15 allow tcp from me to any 80 limit dst-port X 
> keep-state out setup
> 

ipfw add 50 allow tcp from any to any setup limit src-addr 2

would limit any user to 2 concurrent TCP connections.




More information about the freebsd-ipfw mailing list