qusal/salt/sys-pihole/files/server/network-hooks.d/flush

10 lines
302 B
Plaintext
Raw Normal View History

2023-11-13 09:33:28 -05:00
#!/usr/sbin/nft -f
2023-11-13 13:18:06 -05:00
# SPDX-FileCopyrightText: 2022 - 2023 unman <unman@thirdeyesecurity.org>
2023-11-13 09:33:28 -05:00
#
# SPDX-License-Identifier: AGPL-3.0-or-later
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