wireguard-setup/scripts/dns.nft

11 lines
255 B
Plaintext
Raw Normal View History

2024-02-09 21:49:50 +00:00
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
}
}