Re: [gentoo-user] Limit upload and source IP

2008-09-12 Thread Gregory SACRE
For the limitation, I cannot help you. But allowing only an IP range, you can use iptables. You define the default rule for INPUT packets to DROP and allow only a range (e.g. 192.168.0.0/24). That would give something like: iptables -A INPUT -p ALL -i -s --dport 80 -m tcp -j ACCEPT You can che

[gentoo-user] Limit upload and source IP

2008-09-12 Thread Amar Cosic
Hello all I am trying to limit upload speed from my server and also limit source IP's .For ex. I want to give only 60K of my upload speed.Also I want to make somekind of rule where only IP range that I chose can connect to port 80,and all others to be rejected. I am using Apache as web server. Any