Re: Dynamic firewall based on bandwidth usage ?



On 10/10/06, Vladimir Mitiouchev <vovcia@xxxxxxxxx> wrote:
iptables -A INPUT -p tcp --dport 80 -m quota --quota 1073741824 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
Of course, find APPROPRIATE rule for Your firewall. nat/PREROUTING, or
sth. THINK.
And DO NOT ask how to RESET counter of quota match. RTFM, once again.
It took me 1min of googling.

--
Sincerely Yours,
Vladimir Mitiouchev