Skip to content

Commit

Permalink
Update wireguard_dnscrypt_setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzkeil authored Jun 12, 2024
1 parent 2a7415a commit 5422162
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wireguard_dnscrypt_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,9 @@ firewall-cmd --zone=trusted --add-source=fd42:$wg0networkv6::/64
firewall-cmd --direct --add-rule ipv6 nat POSTROUTING 0 -s fd42:$wg0networkv6::/64 ! -d fd42:$wg0networkv6::/64 -j SNAT --to "$hostipv6"
fi

firewall-cmd --zone=trusted --add-forward-port=port=53:proto=tcp:toport=53:toaddr=127.0.0.1
firewall-cmd --zone=trusted --add-forward-port=port=53:proto=udp:toport=53:toaddr=127.0.0.1
# wrong....
#firewall-cmd --zone=trusted --add-forward-port=port=53:proto=tcp:toport=53:toaddr=127.0.0.1
#firewall-cmd --zone=trusted --add-forward-port=port=53:proto=udp:toport=53:toaddr=127.0.0.1

firewall-cmd --runtime-to-permanent

Expand Down

0 comments on commit 5422162

Please sign in to comment.