Relative Content

Tag Archive for nftables

Netfilter (nft) metadata on packets from bridge interfaces

I am trying to set up a filtering bridge that makes some decisions on what to forward, and what to allow in (filter chain) based on which physical interface a packet came in on. How I thought this worked was that the bridge model in the kernel would attach the input interface (which could be physical, but I think could be also vlan1234@eth0) as metadata. I then thought I could use ‘meta iffname’ to set rules up like this: