From: Sean Loaring <sloaring@tec-man.com>
To: netfilter@vger.kernel.org
Subject: Routing by port
Date: Mon, 28 Jan 2008 06:34:40 -0700 [thread overview]
Message-ID: <20080128133439.GA29891@tec-man.com> (raw)
Hello,
I have a network with two gateways. I also have a web client program
running on a server that slows down the default gateway quite a bit. I
would like to be able to have all outgoing connections to port 80 from
the machine go out via the second gateway.
I found that if I had a linux machine running as a router then I can
mark packets using iptables and then route based on the marks. I can't
seem to find how to do this for a single host. Marking seems to be only
possible after outgoing routing has already taken place.
I did find the ROUTE target in several iptables man pages. But after
looking around it seems that it has gone the way of the dodo (except in
man pages).
Is ROUTE dead or am I just unable to find it? Or is there a better
alternative?
Thanks,
Sean
reply other threads:[~2008-01-28 13:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080128133439.GA29891@tec-man.com \
--to=sloaring@tec-man.com \
--cc=netfilter@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