Migrating from iptables to nft

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

 



Hi,

I have an iptables rule:
-A FORWARD -m physdev --physdev-in enp1s0 -j FORWARD_OUTSIDE_IN

How do I represent that in nft syntax ?
An example log record is:
FORWARD IN=br0 OUT=br0 PHYSIN=enp1s0 PHYSOUT=eth0 MAC=...

So, I wish to match on the PHYSIN and not the IN.

Kind Regards

James



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux