All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Seamans <marks@crvinc.com>
To: realsite internetcafe <realsiteinternetcafe@yahoo.com>,
	netfilter@lists.netfilter.org
Subject: Re: internet gateway bandwidth control
Date: Fri, 21 Mar 2003 10:51:30 -0600	[thread overview]
Message-ID: <200303211051.30308.marks@crvinc.com> (raw)
In-Reply-To: <20030321161829.9918.qmail@web80402.mail.yahoo.com>

http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.ratelimit.single.html
This seems to work very well..

Mark

-----Original Message-----
hi all.

need help in formulating an iptables rule.

i need suggestion on a gnu/linux solution for my
internet gateway server sharing a adsl connection via
iptables_nat.

i got client that uses kazaa too much, but i dont want
to block kazaa i only need to retune it and give him
slow connection. problem is, i dont want to limit his
connection to the server coz the server is a samba
server also. only need to limit his kazaa connection.

heres the design:

if client bandwidth > 35kbps
then limit only to 35kbps
where kazaa dport and sport are 80 and 1214.
where -s 192.168.0.0/255.255.255.255.0 except
192.168.0.1 and 192.168.0.15 (.1 is the server and .15
is my box in my room, i believe i would be needing the
"!", but how do i make it for two ip address?)
where eth0 is 192.168.0.1 (LAN)
and
eth1 is 203.204.250.206 (DSL)

of course i know thats not the rule. but im having a
hard time formulating it. ive read all the netfilet
how-to's but i need to incorporate and thats the
problem.

or i need better suggestion.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



  reply	other threads:[~2003-03-21 16:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <018c01c2edd9$d95074d0$0464a8c0@bmcmnl.local>
2003-03-21 16:18 ` internet gateway bandwidth control realsite internetcafe
2003-03-21 16:51   ` Mark Seamans [this message]
2003-03-21 17:35 Daniel Chemko

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=200303211051.30308.marks@crvinc.com \
    --to=marks@crvinc.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=realsiteinternetcafe@yahoo.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.