Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Mohammad Shakir <shakirz1@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: connection limit per ip
Date: Mon, 19 Jul 2004 22:52:37 -0700 (PDT)	[thread overview]
Message-ID: <20040720055237.12274.qmail@web40702.mail.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

I have red hat linux 7.3 with normail dialup and i have 15 clients which are connected with my linux box.
 
I am using simple MASQUERADING for internet sharing, now i want to put limit of 1kb limit for each user.
 
here is my rule for internet sharing, please advice me it is good enough or should i change my rule.
 
/sbin/iptables --flush
/sbin/iptables --table nat --flush
/sbin/iptables --delete-chain
/sbin/iptables --table nat --delete-chain
/sbin/iptables --table nat --append POSTROUTING -s 192.168.0.0/24 --out-interface ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward 

		
---------------------------------
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!

[-- Attachment #2: Type: text/html, Size: 854 bytes --]

             reply	other threads:[~2004-07-20  5:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20  5:52 Mohammad Shakir [this message]
2004-07-20  8:53 ` connection limit per ip Antony Stone

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=20040720055237.12274.qmail@web40702.mail.yahoo.com \
    --to=shakirz1@yahoo.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