All of lore.kernel.org
 help / color / mirror / Atom feed
* Redirecting Pakets
@ 2009-01-28 18:27 nemesis
  0 siblings, 0 replies; only message in thread
From: nemesis @ 2009-01-28 18:27 UTC (permalink / raw)
  To: netfilter

Hi,

I want to redirect pakets for several ip-adresses to other ip-adresses 
on a bridge.
I know that a bridge is working one layer below iptables, but I think it 
should be possible to hand those pakets to iptables.

I tried it like this:

ebtables -t broute -A BROUTING -p IPv4 -j redirect --redirect-target ACCEPT

and then the iptables rule:

iptables -t nat -A PREROUTING -p tcp -d [DESTINATION-IP-OLD] -j DNAT 
--to-destination [DESTINATTION-IP-NEW]

but it won't work.

Can somebody help me with this problem ?


THX !

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

only message in thread, other threads:[~2009-01-28 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 18:27 Redirecting Pakets nemesis

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.