Allow metadata API in nft rules
This commit is contained in:
parent
52127f2938
commit
88a181b20d
|
@ -133,6 +133,8 @@ add rule inet filter input udp dport 53 meta iifname {bridgenic} counter accept
|
||||||
add rule inet filter input udp dport 67 meta iifname {bridgenic} counter accept
|
add rule inet filter input udp dport 67 meta iifname {bridgenic} counter accept
|
||||||
add rule inet filter input udp dport 123 meta iifname {bridgenic} counter accept
|
add rule inet filter input udp dport 123 meta iifname {bridgenic} counter accept
|
||||||
add rule inet filter input ip6 nexthdr udp udp dport 547 meta iifname {bridgenic} counter accept
|
add rule inet filter input ip6 nexthdr udp udp dport 547 meta iifname {bridgenic} counter accept
|
||||||
|
# Allow metadata API into the router from network
|
||||||
|
add rule inet filter input tcp dport 80 meta iifname {bridgenic} counter accept
|
||||||
# Block traffic into the router from network
|
# Block traffic into the router from network
|
||||||
add rule inet filter input meta iifname {bridgenic} counter drop
|
add rule inet filter input meta iifname {bridgenic} counter drop
|
||||||
""".format(
|
""".format(
|
||||||
|
|
Loading…
Reference in New Issue