From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jim Gifford" Subject: Quota Date: Tue, 29 Oct 2002 21:33:50 -0800 Sender: netfilter-admin@lists.netfilter.org Message-ID: <006c01c27fd5$edc4e260$fb00a8c0@W2RZ8L4S02> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org 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