From: Felix <fmontes@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Forcing traffic out the same interface on a dual homed server (without using routes) ?
Date: Thu, 11 Aug 2005 17:50:11 -0400 [thread overview]
Message-ID: <eaa1cc6d05081114501eb09f74@mail.gmail.com> (raw)
Hi all,
If i have 2 interfaces on a linux server, say eth0 and eth1, and
a) default gateway is eth0 = production
b) there is a complex network on eth1 = administration
c) i can't have routing entries for the administration network
(dont ask why, its an OSI layer 9 problem (the political layer))
Can iptables restrict traffic that came in through eth1/administration to
only go out through eth1?
I think what i'm trying to do is bypass the routing decision if somehow it
was known on which interface the connection initiated. And even if iptables
could manage to send the traffic out the same interface, would it just be
dropped on the local subnet? how would it be sent to the default gateway on
that subnet?
Your enlightening comments will be appreciated.
Regards,
-Felix
next reply other threads:[~2005-08-11 21:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-11 21:50 Felix [this message]
2005-08-12 15:40 ` Forcing traffic out the same interface on a dual homed server(without using routes) ? J.T. Moore
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=eaa1cc6d05081114501eb09f74@mail.gmail.com \
--to=fmontes@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