From: Askar <askarali@gmail.com>
To: netfilter <netfilter@lists.netfilter.org>
Subject: MARKing question
Date: Mon, 31 Jan 2005 15:29:32 +0500 [thread overview]
Message-ID: <a0f69e5050131022966942181@mail.gmail.com> (raw)
hi list,
I'm MARKing packets in PREROUTING of mangle with the below rule to
route them from other route then the default route .(iproute2 +
iptables)
$iptables -A PREROUTING -i eth0 -t mangle -s 202.xxx.xxx.0/24 -d 0/0
-p tcp --dport 80 -j MARK --set-mark 4
What I want is to exclude a single IP from the above to be MARKed, i-e
the particular IP packets goes through default route of the firewall
machine not through iproute2 route.
Is this possible with iptables or I have to apply pom (extentions) to
accomplished this?
regards
Askar
(after bouncing head on desk for days trying to get mine working, I'll make
your life a little easier)
next reply other threads:[~2005-01-31 10:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-31 10:29 Askar [this message]
2005-01-31 16:25 ` MARKing question Jason Opperisano
2005-02-01 5:18 ` Askar
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=a0f69e5050131022966942181@mail.gmail.com \
--to=askarali@gmail.com \
--cc=netfilter@lists.netfilter.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