From: /dev/rob0 <rob0@gmx.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: relocating packets
Date: Thu, 13 Oct 2005 08:35:47 -0500 [thread overview]
Message-ID: <200510130835.47747.rob0@gmx.co.uk> (raw)
In-Reply-To: <434E2DFD.8030909@ufl.edu>
On Thursday 2005-October-13 04:50, Mark Oden wrote:
> Assuming I had two NICs in my machine that happen to be on the same
> network, is there a way to force packets of certain ports to use only
> one NIC or IP?
I believe this scenario is covered by the LARTC HOWTO. In brief: use
"-j MARK --set-mark 0xff" in mangle. Use dual routing tables, and a
rule to put "fwmark 0xff" traffic in the alternate table. The mark can
be anything from 0x0 to 0xffff.
http://lartc.org/howto/
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
next prev parent reply other threads:[~2005-10-13 13:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-13 9:50 relocating packets Mark Oden
2005-10-13 13:35 ` /dev/rob0 [this message]
2005-10-13 21:53 ` Henrik Nordstrom
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=200510130835.47747.rob0@gmx.co.uk \
--to=rob0@gmx.co.uk \
--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