pmaports/main/postmarketos-config-nftables/rules/50_vncserver.nft
wonderfulShrineMaidenOfParadise 6e1dd3f820
main/postmarketos-config-nftables: subpackage vncserver (MR 2479)
Co-authored-by: clayton craft <clayton@craftyguy.net>
2021-09-01 11:28:33 +03:00

11 lines
296 B
Text

#!/usr/sbin/nft -f
table inet filter {
chain input {
# drop VNC from wwan
iifname "wwan*" tcp dport 5900 drop comment "drop VNC from wwan"
# allow vnc
tcp dport 5900 accept comment "accept VNC"
}
}