Ttttabcd <ttttabcd@xxxxxxxxxxxxxx> wrote: > 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. Yes. > Is there a way for nftables to automatically get the MAC address of the interface? Not yet, but we could extend nft/ nft_meta.c so you could do "ether daddr set meta ifaddr" or something like that.