pmaports/main/postmarketos-config-nftables/rules/50_mdns.nft
Smits Katze a2820d9c79
main/postmarketos-config-nftables: make mDNS rule more restrictive (MR 3755)
mDNS queries and replies are sent to port 5353.
Update firewall rule in order to make it as tight as possible.

[ci:skip-build]: already built successfully in CI
2023-01-17 08:34:20 +01:00

7 lines
138 B
Text

#!/usr/sbin/nft -f
table inet filter {
chain input {
udp sport mdns udp dport mdns accept comment "accept incoming mDNS traffic"
}
}