Baake, Matthias m.baake at
Wed Aug 24 17:27:16 CEST 2005


maybe he has not a problem with his bandwidth, but a problem with his router
that cannot handle those connections. if you are using a linux box as router/gw 
check the logs for something with conntrack table full. if this is the case your 
machine is not able to accept new connections afaik.

a possible solution can be to increase your ip_conntrack_max in /proc/sys/net/ipv4 
e.g. "echo "2048" >/proc/sys/net/ipv4/ip_conntrack_max

or you get patch o matic and look for the connlimit patch.

the last solution would be find the p2p guy and cut off his network cable ;)



> -----Original Message-----
> From: netfilter-bounces at 
> [mailto:netfilter-bounces at]On Behalf Of 
> Raphael Jacquot
> Sent: Wednesday, August 24, 2005 5:08 PM
> To: Lyubomir Louisov
> Cc: netfilter at
> Subject: Re: Connections
> Lyubomir Louisov wrote:
> > Hi.
> > My torrent client is using too much connections at the same 
> time and thats
> > why i cant browse the net.
> > My question is how can i limit the number of connections 
> with iptables?
> > 
> > 
> You'd better use a QOS solution, to reduce the priority of 
> the torrent 
> data compared to the other stuff data

More information about the netfilter mailing list