Quantcast
Viewing all articles
Browse latest Browse all 95830

Session Limiting with IPTables

Just finished installing Merlin firmware on my router.

I want to limit a certain torrenter on my network, googling suggests I limit the TCP/UDP sessions in IPTables.
Since i'm rather new to all this custom firmware stuff, I found some code that might help me with this:
Code:
iptables -t filter -I FORWARD -s 192.168.1.0/24 -p tcp --syn -m connlimit --connlimit-above 350 -j DROP
iptables -t filter -I FORWARD -s 192.168.1.0/24 -p ! tcp -m connlimit --connlimit-above 250 -j DROP
iptables -t...
Session Limiting with IPTables

Viewing all articles
Browse latest Browse all 95830