I've had my PiHole running for a while and had this issue both before and after updating to the most recent version. Certain websites seem to load very slow (I believe its limited to secure websites but not %100 on that) and when I take a look at the network tab it always seems to be a connection to Bootstrap.js
that's causing the problem. With the PiHole running that connection eventually fails after 1-2 minutes and then loads the site however without the PiHole the site loads almost instantaneously and there are no errors with Bootstrap.js
. Any idea why the default settings would be causing this and what the work around is?
I've tried these steps and run into some issues. They may be due to my inexperience but I'll try and explain what I'm seeing to understand if I'm doing something wrong.
- Edit setupVars.conf
My router doesn't have the ability to do ULA so I tried running the provided script however I get an error saying the the/etc/pihold/setupVars.conf
file doesn't exist (when I can clearly see it..):
$ sudo sed -i.setupVars.bak "/IPV6_ADDRESS/d;" "/etc/pihole/setupVars.conf"
sed: cannot rename /etc/pihole/setupVars.conf: No such file or directory
$ ls /etc/pihole/setupVars.conf
/etc/pihole/setupVars.conf
And when I try to run the following command I get a permission denied error even though I'm running as sudo:
$ sudo echo "IPV6_ADDRESS=${IPV6_ADDRESS}" >> "/etc/pihole/setupVars.conf"
-bash: /etc/pihole/setupVars.conf: Permission denied
- Setup HTTPS firewall rules
When trying to set the ip6tables rules the last two give me the following error:
$ sudo ip6tables -A INPUT -p udp --destination-port 80 -j REJECT --reject-with icmp-port-unreachable
ip6tables v1.4.21: unknown reject type "icmp-port-unreachable"
Try `ip6tables -h' or 'ip6tables --help' for more information.
In addition, I'm unable to persist across reboots because the following error occurs when I try to run the above command:
$ sudo iptables-save > /etc/iptables/rules.v4
-bash: /etc/iptables/rules.v4: Permission denied
After receiving these errors I tested the HTTPS Blocker Performance just to see and everything was still running slow. Here is what my current iptables looks like:
$ sudo iptables -L --line-numbers
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 REJECT tcp -- anywhere anywhere tcp dpt:https reject-with tcp-reset
2 REJECT udp -- anywhere anywhere udp dpt:http reject-with icmp-port-unreachable
3 REJECT udp -- anywhere anywhere udp dpt:https reject-with icmp-port-unreachable
4 REJECT tcp -- anywhere anywhere tcp dpt:https reject-with tcp-reset
5 REJECT udp -- anywhere anywhere udp dpt:http reject-with icmp-port-unreachable
6 REJECT udp -- anywhere anywhere udp dpt:https reject-with icmp-port-unreachable
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
and I'm running a base install of raspbian with PiHole installed using the bash script provided and then updated recently
$ uname -a
Linux raspberrypi 4.4.50-v7+
$ pihole -v
::: Pi-hole version is v3.0.1 (Latest version is v3.2.1)
::: Web-Admin version is v3.0.1 (Latest version is v3.2.1)
It sounds like you are having some serious permission problems. You might need to reinstall the operating system. What is the output of ls -al /etc/pihole
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.