From: "MCraciun" <mcraciun@rdsct.ro>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Port limiting on forward
Date: Tue, 04 Nov 2003 21:01:38 +0000 [thread overview]
Message-ID: <3FA813B2.000007.00348@VARZOSU> (raw)
In-Reply-To: <3FA803F1.00000C.00972@VARZOSU>
[-- Attachment #1: Type: Text/Plain, Size: 475 bytes --]
I have 40 Users on P2 200 MMX 32 RAM .
So i know how to match packets .
iptables -t mangle -N MYSHAPER-OUT
iptables -t mangle -I POSTROUTING -o $DEV -j MYSHAPER-OUT
iptables -t mangle -A MYSHAPER-OUT -s! 192.168.0.5 -p tcp --dport 0:1024 -j
MARK --set-mark 23
iptables -t mangle -A MYSHAPER-OUT -p tcp --dport 6660:65000 -j MARK
--set-mark 24
How do i shape mark 23 at 1 KB/s and mark 24 at 1 MB/s ?
[-- Attachment #2: Type: Text/HTML, Size: 1891 bytes --]
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="IncrediMail 1.0" name=GENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER>4.0</X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style="BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px 10px 10px; FONT-FAMILY: Arial" bgColor=#ffffff background="" scroll=yes ORGYPOS="0">
<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD id=INCREDITEXTREGION style="FONT-SIZE: 12pt; CURSOR: auto; FONT-FAMILY: Arial" width="100%">
<DIV>I have 40 Users on P2 200 MMX 32 RAM .</DIV>
<DIV>So i know how to match packets .</DIV>
<DIV>iptables -t mangle -N MYSHAPER-OUT</DIV>
<DIV>iptables -t mangle -I POSTROUTING -o $DEV -j MYSHAPER-OUT</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>iptables -t mangle -A MYSHAPER-OUT -s! 192.168.0.5 -p tcp --dport 0:1024 -j MARK --set-mark 23</DIV>
<DIV> </DIV>
<DIV>
<DIV>iptables -t mangle -A MYSHAPER-OUT -p tcp --dport 6660:65000 -j MARK --set-mark 24</DIV>
<DIV> </DIV>
<DIV>How do i shape mark 23 at 1 KB/s and mark 24 at 1 MB/s ?</DIV>
<DIV> </DIV>
<DIV> </DIV></DIV>
<DIV> </DIV>
<DIV> </DIV></TD></TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="100%"></TD>
<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
<TD id=INCREDIANIM vAlign=bottom align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
next prev parent reply other threads:[~2003-11-04 21:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-04 19:54 [LARTC] Port limiting on forward MCraciun
2003-11-04 21:01 ` MCraciun [this message]
2004-01-04 20:44 ` Roy
2004-01-04 22:06 ` Roy
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=3FA813B2.000007.00348@VARZOSU \
--to=mcraciun@rdsct.ro \
--cc=lartc@vger.kernel.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