qusal/salt/sys-pihole/files/server/network-hooks.d/flush
2023-12-19 21:55:45 +01:00

10 lines
302 B
Plaintext

#!/usr/sbin/nft -f
# SPDX-FileCopyrightText: 2022 - 2023 unman <unman@thirdeyesecurity.org>
#
# 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