Hello ,
I have a getway linking a home network to the internet ...
the home network is 192.168.0.*
I would like to quota one of the computers on the home network ... it is
:
192.168.0.150

I connect the home network to the internet through the gateway using the
following iptables line :
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

I am trying to implement a 4 MB quota for the 192.168.0.150 host using :
iptables -t nat -A POSTROUTING -p all -s 192.168.0.150 -m quota --quota
4096000 -j ACCEPT
iptables -t nat -A POSTROUTING -p all -s 192.168.0.150 -j DROP

But the gateway - he no like this ! Him say :

iptables: No chain/target/match by that name

What can I do to implement quotas in this situation ?

thanks
Matt

-- 
http://mffm.darktech.org

WSOLA TimeScale Audio Mod  : http://mffmtimescale.sourceforge.net/
Vector Bass          : http://mffmvectorbass.sourceforge.net/
Multimedia Time Code : http://mffmtimecode.sourceforge.net/


Reply via email to