Re: limiting outgoing connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-03-22 at 01:19, Linux Query wrote:
> Hi All!
> 
> I want to limit each clients outgoing connections.
> Will the following be ok ?
> 
> iptables -A FORWARD -i $internal_interface -s $ip -m
> limit --limit 10/s -j ACCEPT
> iptables -A FORWARD  -i $internal_interface -s $ip -j
> DROP
> 
> What is a good limit figure ?

it would be saner to use the connlimit match from PoM, or the newer
hashlimit match for this.

-j

--
"Please do not offer my god a peanut"
	--The Simpsons



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux