mirror of
https://github.com/pivpn/pivpn.git
synced 2025-01-18 18:44:29 +00:00
fix(install): Correct dev on PiHole iptables rule
Change PiHole iptables rule from IPv4dev to pivpnDEV
This commit is contained in:
parent
a544a86712
commit
5ee9425ad4
1 changed files with 1 additions and 1 deletions
|
@ -2232,7 +2232,7 @@ get ad blocking on the go?" "${r}" "${c}"; then
|
||||||
on "${pivpnDEV}" to any port 53 \
|
on "${pivpnDEV}" to any port 53 \
|
||||||
from "${pivpnNET}/${subnetClass}" > /dev/null
|
from "${pivpnNET}/${subnetClass}" > /dev/null
|
||||||
else
|
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"
|
-p udp --dport 53 -j ACCEPT -m comment --comment "pihole-DNS-rule"
|
||||||
fi
|
fi
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue