add dns
This commit is contained in:
parent
3b54d77984
commit
83caf49675
10
scripts/dns.nft
Normal file
10
scripts/dns.nft
Normal 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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user