All of lore.kernel.org
 help / color / mirror / Atom feed
* Use iptables to force next hop
@ 2012-11-08 21:08 Alex Bligh
  2012-11-08 22:13 ` Michal Soltys
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Bligh @ 2012-11-08 21:08 UTC (permalink / raw)
  To: netfilter; +Cc: Alex Bligh

Is it possible to use iptables to force the next hop in (e.g.) the FORWARD table?

I know it is possible to do this with 'ip rule' and friends, but for various reasons (non-proliferation of tables) I'd like to do this in just iptables if possible. Let's assume I know what I'm doing, and the effect that I want is that if the iptables rule matches, I want to set the next hop (irrespective of the routing table) to an IP address which I can guarantee is on a directly connected interface.

-- 
Alex Bligh





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

end of thread, other threads:[~2012-11-09 16:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-08 21:08 Use iptables to force next hop Alex Bligh
2012-11-08 22:13 ` Michal Soltys
2012-11-09  7:44   ` Torsten Luettgert
2012-11-09 16:50   ` Alex Bligh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.