This commit is contained in:
Orazio 2021-11-18 14:28:35 +01:00 committed by GitHub
parent 88a3df99ca
commit 65ffa9afd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1474,7 +1474,7 @@ askClientDNS(){
echo "pivpnDNS1=${pivpnDNS1}" >> ${tempsetupVarsFile}
echo "pivpnDNS2=${pivpnDNS2}" >> ${tempsetupVarsFile}
# Allow DNS incomming requests through UFW.
# Allow incoming DNS requests through UFW.
if [ "$USING_UFW" -eq 1 ]; then
$SUDO ufw insert 1 allow in on "${pivpnDEV}" to any port 53 from "${pivpnNET}/${subnetClass}" >/dev/null
fi