Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Jim Gifford" <maillist@jg555.com>
To: netfilter@lists.netfilter.org
Subject: Quota
Date: Tue, 29 Oct 2002 21:33:50 -0800	[thread overview]
Message-ID: <006c01c27fd5$edc4e260$fb00a8c0@W2RZ8L4S02> (raw)

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




                 reply	other threads:[~2002-10-30  5:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006c01c27fd5$edc4e260$fb00a8c0@W2RZ8L4S02' \
    --to=maillist@jg555.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox