Linux Netfilter discussions
 help / color / mirror / Atom feed
* Routing by port
@ 2008-01-28 13:34 Sean Loaring
  0 siblings, 0 replies; only message in thread
From: Sean Loaring @ 2008-01-28 13:34 UTC (permalink / raw)
  To: netfilter

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-28 13:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 13:34 Routing by port Sean Loaring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox