From: "Kovarththanan Rajaratnam" <cfp7586@vip.cybercity.dk>
To: lartc@vger.kernel.org
Subject: [LARTC] Mark with Iptables
Date: Thu, 05 Jul 2001 19:17:46 +0000 [thread overview]
Message-ID: <marc-lartc-99436182027493@msgid-missing> (raw)
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?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next reply other threads:[~2001-07-05 19:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-05 19:17 Kovarththanan Rajaratnam [this message]
2001-07-06 10:24 ` [LARTC] Mark with Iptables Stef Coene
2001-07-06 10:24 ` Stef Coene
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-99436182027493@msgid-missing \
--to=cfp7586@vip.cybercity.dk \
--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.