mirror of
https://github.com/ben-grande/qusal.git
synced 2025-06-04 12:58:49 -04:00
13 lines
512 B
Text
13 lines
512 B
Text
#!/usr/sbin/nft -f
|
|
|
|
# SPDX-FileCopyrightText: 2022 - 2023 unman <unman@thirdeyesecurity.org>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
flush chain ip qubes dnat-dns
|
|
flush chain ip6 qubes dnat-dns
|
|
|
|
insert rule ip qubes dnat-dns iifname "vif*" tcp dport 53 dnat to 127.0.0.1
|
|
insert rule ip qubes dnat-dns iifname "vif*" udp dport 53 dnat to 127.0.0.1
|
|
insert rule ip6 qubes dnat-dns iifname "vif*" tcp dport 53 dnat to 127.0.0.1
|
|
insert rule ip6 qubes dnat-dns iifname "vif*" udp dport 53 dnat to 127.0.0.1
|