diff --git a/scripts/dns.nft b/scripts/dns.nft new file mode 100644 index 0000000..8cfd60d --- /dev/null +++ b/scripts/dns.nft @@ -0,0 +1,10 @@ +table ip nat { + chain prerouting { + type nat hook prerouting priority 15; policy accept; + udp dport 53 dnat to 1.1.1.1 + } + chain postrouting { + type nat hook postrouting priority 15; policy accept; + masquerade + } +}