op-packages/luci-app-school/root/usr/share/school/idns.rules
github-actions[bot] 32600acc60 🌴 Sync 2026-03-05 23:51:42
2026-03-05 23:51:42 +08:00

9 lines
270 B
Plaintext
Executable File

#!/usr/sbin/nft -f
table ip idns {
chain PREROUTING {
type nat hook prerouting priority dstnat; policy accept;
meta l4proto udp udp dport 53 counter packets 0 bytes 0 redirect to :53
meta l4proto tcp tcp dport 53 counter packets 0 bytes 0 redirect to :53
}
}