pmos/main/postmarketos-config-nftables/rules/50_upnp_client.nft

9 lines
200 B
Plaintext

#!/usr/sbin/nft -f
table inet filter {
chain input {
iifname "wwan*" udp sport 1900 drop comment "drop SSDP/UPnP replies from wwan"
udp sport 1900 accept comment "accept SSDP/UPnP replies"
}
}