All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Worm Mortensen worm@dkik.dk
To: lartc@vger.kernel.org
Subject: [LARTC] Bandwidth limiting a MASQed network.
Date: Thu, 01 Mar 2001 22:01:59 +0000	[thread overview]
Message-ID: <marc-lartc-98373940417075@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940417071@msgid-missing>

<PRE>Hi,

&gt;<i> &gt; Yes. But I guess you can use the firewall mark and let ipchains (and
</I>&gt;<i> &gt; probably also netfilter in 2.4) mark masqgraded packets with some
</I>&gt;<i> &gt; specific value and then use filters to match this specific mark. I </I>have
&gt;<i> &gt; not tried this myself, though.
</I>&gt;<i> 
</I>&gt;<i> Ah :) I was hoping that might do the trick. I´m using ipchains to </I>set up ipmasq 
&gt;<i> right now and I have absolutely no idea of how to mark them. Is there </I>anyone 
&gt;<i> out there that could help me out?
</I>
I think you should use ipchains to set up masqgrading and add an &quot;-m 42&quot; option to the line you do it with (i.e. &quot;ipchains ... -m 42 - j MASQ) . Then you can probably use the u32 or the fwmark filter to match on packets which has the firewall mark set to the value 42.


Christian



</PRE>

  parent reply	other threads:[~2001-03-01 22:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-01 15:37 [LARTC] Bandwidth limiting a MASQed network Kim
2001-03-01 19:24 ` Christian
2001-03-01 21:51 ` Kim
2001-03-01 21:59 ` David
2001-03-01 22:01 ` Christian [this message]
2001-03-01 22:05 ` Kim

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=marc-lartc-98373940417075@msgid-missing \
    --to=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 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.