From 5ee9425ad421fea4b22816d8f885e91b1c3dfbbf Mon Sep 17 00:00:00 2001 From: 4s3ti <4s3ti@4s3ti.net> Date: Sat, 17 Sep 2022 16:40:17 +0200 Subject: [PATCH] fix(install): Correct dev on PiHole iptables rule Change PiHole iptables rule from IPv4dev to pivpnDEV --- auto_install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index 80efc92..037ca7a 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -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