Linux Netfilter discussions
 help / color / mirror / Atom feed
* Quota
@ 2002-10-30  5:33 Jim Gifford
  0 siblings, 0 replies; only message in thread
From: Jim Gifford @ 2002-10-30  5:33 UTC (permalink / raw)
  To: netfilter

Is it possible to use the Quota option to put a quota on a specific IP
address?

I would assume it would look something like this

iptables -A INPUT -s (IP_ADDRESS) -m quota --quota (bytes) -j ACCEPT
iptables -A OUTPUT -d  (IP_ADDRESS) -m quota --quota (bytes) -j ACCEPT
iptables -A FORWARD -s  (IP_ADDRESS) -m quota --quota (bytes) -j ACCEPT
iptables -A FORWARD -d  (IP_ADDRESS) -m quota --quota (bytes) -j ACCEPT




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-30  5:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-30  5:33 Quota Jim Gifford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox