This commit is contained in:
2024-02-09 22:49:50 +01:00
parent 3b54d77984
commit 83caf49675

10
scripts/dns.nft Normal file
View File

@ -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
}
}