Bridge filtering

From nftables wiki
Revision as of 23:12, 26 November 2020 by Fw (talk | contribs) (→‎Examples)
Jump to navigation Jump to search

Examples

Filter on TCP destination port in ipv4 packets:

nft add rule bridge filter forward ether type ip tcp dport 22 accept

Accept arp packet:

nft add rule bridge filter forward ether type arp accept