shaker/pihole/flush

5 lines
180 B
Plaintext
Raw Normal View History

2022-08-06 01:30:13 +00:00
#!/usr/sbin/nft -f
flush chain nat PR-QBS
insert rule nat PR-QBS iifname "vif*" tcp dport 53 dnat to 127.0.0.1
insert rule nat PR-QBS iifname "vif*" udp dport 53 dnat to 127.0.0.1