fix(install): Correct dev on PiHole iptables rule

Change PiHole iptables rule from IPv4dev to pivpnDEV
This commit is contained in:
4s3ti 2022-09-17 16:40:17 +02:00
parent a544a86712
commit 5ee9425ad4
No known key found for this signature in database
GPG key ID: AC2D3B898F96BC51

View file

@ -2232,7 +2232,7 @@ get ad blocking on the go?" "${r}" "${c}"; then
on "${pivpnDEV}" to any port 53 \
from "${pivpnNET}/${subnetClass}" > /dev/null
else
${SUDO} iptables -I INPUT -i "${IPv4dev}" \
${SUDO} iptables -I INPUT -i "${pivpnDEV}" \
-p udp --dport 53 -j ACCEPT -m comment --comment "pihole-DNS-rule"
fi
return