Repairing IPv6 connectivity after installing Pihole on Debian 9
Hi,
I recently installed Pihole on my Linode. After doing so, it seems that my Linode can no longer connect to other servers over IPv6. I'm not sure what the Pihole script is doing to break IPv6 and I was hoping someone hear may have an idea.
Incoming connections over IPv6 work fine, but outgoing do not. Interestingly, if I run the command "ip -6 address | grep 'scope global'", it doesn't show my public address. I'm not sure where it's getting the address that it's showing. I think the Pihole installation script messed with my network configuration, but shouldn't that be automatically reconfigured when I reboot?
Thanks for any advice.
3 Replies
Yes, our Network Helper will attempt to reconfigure your Linodes networking on each boot, but it could be that another script is then changing the configuration afterwards. I'd recommend checking your Linode's network configuration files to see if your Linode's IPv6 address is still listed. We have a guide on static IP configuration that may help along the way.
Another possibility is that there are firewall rules blocking IPv6 traffic. If you're using iptables, you can check your Linode's IPv6 firewall rules with:
ip6tables -L -nv --line-numbers
The network interfaces file doesn't appear to have been modified, and it doesn't look like I have any Iptables rules that are interfering.
root@localhost:~# ipip6tables -L -nv --line-numbers
Chain INPUT (policy ACCEPT 6 packets, 624 bytes)
num pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
I've started looking through Pihole's installation script to find something that might be causing the problem. This issue is pretty weird.