All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stafke@iname.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Mark with Iptables
Date: Fri, 06 Jul 2001 10:24:56 +0000	[thread overview]
Message-ID: <marc-lartc-99441528227949@msgid-missing> (raw)
In-Reply-To: <marc-lartc-99436182027493@msgid-missing>

Kovarththanan Rajaratnam wrote:
> 
> Hey
> 
> I've been playing with bandwidth sharing and the best solution seems to be a
> mix of iptables and CBQ but I seem to be in trouble already. I've choosen to
> mark al traffic from my LAN going to the internet (upload) as according to
> the following command which seems to work:
> 
> iptables -A PREROUTING -t mangle -i eth0 -p tcp -d ! 192.168.0.0/24 -j
> MARK --set-mark 1
> 
> But how do I mark the data that's being transferred through the masquaraded
> connection (download) established by the computers on the LAN?
You can mark the packets in the forward chain, so they are allready
demasqueraded.  I think that will work, but I didn't tried it.


Stef

-- 

stafke@iname.com        stef.coene@belgacom.net
More QOS info : http://users.belgacom.net/staf/

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

      parent reply	other threads:[~2001-07-06 10:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-05 19:17 [LARTC] Mark with Iptables Kovarththanan Rajaratnam
2001-07-06 10:24 ` Stef Coene
2001-07-06 10:24 ` Stef Coene [this message]

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-99441528227949@msgid-missing \
    --to=stafke@iname.com \
    --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 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.