Linux Netfilter discussions
 help / color / mirror / Atom feed
* Forcing traffic out the same interface on a dual homed server (without using routes) ?
@ 2005-08-11 21:50 Felix
  2005-08-12 15:40 ` Forcing traffic out the same interface on a dual homed server(without " J.T. Moore
  0 siblings, 1 reply; 2+ messages in thread
From: Felix @ 2005-08-11 21:50 UTC (permalink / raw)
  To: netfilter

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-12 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-11 21:50 Forcing traffic out the same interface on a dual homed server (without using routes) ? Felix
2005-08-12 15:40 ` Forcing traffic out the same interface on a dual homed server(without " J.T. Moore

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