Re: How to implement transparent proxy in bridge through nftables

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

 



> You can try this example from nft man page, you need to replace the mac
> address of course.
>
> bridge prerouting meta pkttype set unicast ether daddr set 00:11:22:33:44:55

I have been busy with other things in recent days. I didn’t read the mail. Thank you very much.

This is very helpful. Replace the destination MAC address with the bridge interface MAC address to get the packet to the network layer.

But there is a problem here, that is, the specified MAC address is fixed, this is not universal, I have to modify the command on different devices.

Is there a way for nftables to automatically get the MAC address of the interface?




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux