Re: mac-redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-02-16 at 15:49 +0200, Victoria Muntean wrote:
> Which rule/module of iptable 1.4.3 can change dest mac of the packet ?
> (in PreRouting)

Since the destination MAC address is only determined by arp table
lookups after the routing decision has been taken, at least when you're
using you Linux box as a router, you can't do much about it in the pre
routing table. I am also not aware of a standard target that let's
you modify the destination mac in the post_routing table.

But if you are using your box as a bridge, you could you ebtables to do
some sort of MAC NAT. => http://ebtables.sourceforge.net/

The question is: what are you trying to achieve?


> Thanks
> Viki
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux