I'm experiencing an issue accessing external webpages whilst using pivpn (wireguard) however locally hosted pages like pi-hole admin and Homebridge web ui open fine. Based on this, it confirms port forwarding is set up correctly.
As mentioned above I'm running pi-hole, and Unbound is also configured and all software packages were installed using dietpi-software.
It might be worth noting that I think this issue started after installing Unbound which was done some time after pi-hole and pivpn were set up. Additionally, whilst reviewing the debug output below it states that the pivpnDNS1=10.6.0.1 and the client DNS is the same IP, however pi-hole is configured to use Unbound as the DNS (127.0.0.1#5335). Not sure if that makes a difference or not.
Any guidance is greatly appreciated, many thanks.
Code: Select all
::: Generating Debug Output :::: PiVPN debug :::: ============================================= :::: Latest commit :::: commit d7771c251418fa443869397d46f93c5b0c197558 Author: 4s3ti <email@example.com> Date: Sat Feb 6 23:04:11 2021 +0100 Merge branch test into master fixes #1234 ci/cd fixes and improvements ============================================= :::: Installation settings :::: PLAT=Debian OSCN=buster USING_UFW=0 IPv4dev=eth0 install_user=dietpi install_home=/home/dietpi VPN=wireguard pivpnPORT=51820 pivpnDNS1=10.6.0.1 pivpnDNS2= pivpnHOST=REDACTED INPUT_CHAIN_EDITED=0 FORWARD_CHAIN_EDITED=0 pivpnPROTO=udp pivpnDEV=wg0 pivpnNET=10.6.0.0 subnetClass=24 ALLOWED_IPS="0.0.0.0/0, ::0/0" UNATTUPG=0 INSTALLED_PACKAGES=(wireguard-tools) ============================================= :::: Server configuration shown below :::: [Interface] PrivateKey = server_priv Address = 10.6.0.1/24 ListenPort = 51820 ### begin PackmoorVPN ### [Peer] PublicKey = PackmoorVPN_pub PresharedKey = PackmoorVPN_psk AllowedIPs = 10.6.0.2/32 ### end PackmoorVPN ### ============================================= :::: Client configuration shown below :::: [Interface] PrivateKey = PackmoorVPN_priv Address = 10.6.0.2/24 DNS = 10.6.0.1 [Peer] PublicKey = server_pub PresharedKey = PackmoorVPN_psk Endpoint = REDACTED:51820 AllowedIPs = 0.0.0.0/0, ::0/0 ============================================= :::: Recursive list of files in :::: :::: [4m/etc/wireguard shown below :::: /etc/wireguard: configs keys wg0.conf /etc/wireguard/configs: PackmoorVPN.conf clients.txt /etc/wireguard/keys: PackmoorVPN_priv PackmoorVPN_psk PackmoorVPN_pub server_priv server_pub ============================================= :::: Self check :::: :: [OK] IP forwarding is enabled :: [OK] Iptables MASQUERADE rule set :: [OK] WireGuard is running :: [OK] WireGuard is enabled (it will automatically start on reboot) :: [OK] WireGuard is listening on port 51820/udp =============================================