Skip to content

Commit 77f6caa

Browse files
committed
linux: fix nftables syntax (use 'ip protocol udp drop')
1 parent 13e1078 commit 77f6caa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/jail/linux/nftables.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ table ip {} {{
161161
tcp dport 53 accept
162162
163163
# Explicitly block all other UDP (e.g., QUIC on 443)
164-
udp drop
164+
ip protocol udp drop
165165
166166
# Allow traffic to the host proxy ports after DNAT
167167
ip daddr {} tcp dport {{ {}, {} }} accept

0 commit comments

Comments
 (0)