Difference between revisions of "Bridge filtering"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== Examples == | == Examples == | ||
Filter on TCP destination port: | Filter on TCP destination port in ipv4 packets: | ||
<source lang="bash"> | <source lang="bash"> |
Revision as of 00:12, 27 November 2020
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