pivpn and wireguard stopped working on my phone reddit / selfhosted ---------------------------------------------------------------------- Xanderox1 ยท 2023-11-29 17:57 I am using vpn to connect pihole on my phone, but now i don't have internet. I can ping my phone, pihole on my pc works good. VPN was working before, but it now don't. I used journalctl and here is result: Nov 29 15:20:09 universal-server docker.nvidia-container- toolkit\[1165\]: logger.go:92: DEBUG: mount name:"/tmp/.snap/etc/wireguard" dir:"/etc/wireguard" type:"" opts:MS\_BIND|MS\_REC unparsed:"" (error: ) Nov 29 15:20:09 universal-server docker.nvidia-container- toolkit\[1165\]: logger.go:92: DEBUG: mount name:"/tmp/.snap/etc/wireguard\_2023-11-15-190704.tar.gz" dir:"/etc/wireguard\_2023-11-15-190704.tar.gz" type:"" opts:MS\_BIND unparsed:"" (error: ) Here is pivpn -d result: ::: Generating Debug Output :::: PiVPN debug :::: ============================================= :::: Latest commit :::: Branch: master Commit: 701a817fed23e302b91b7677b81c5919fc4ec3f1 Author: kokomo123 Date: Tue Nov 7 14:46:43 2023 -0500 Summary: refactor(core): Change wording on the window (#1779) ============================================= :::: Installation settings :::: PLAT=Ubuntu OSCN=jammy USING\_UFW=0 pivpnforceipv6route=1 IPv4dev=wlp3s0 install\_user=asayu install\_home=/home/asayu VPN=wireguard pivpnPORT=51820 pivpnDNS1=[1.1.1.1](https://1.1.1.1/) pivpnDNS2=[1.0.0.1](https://1.0.0.1/) pivpnHOST=REDACTED INPUT\_CHAIN\_EDITED=1 FORWARD\_CHAIN\_EDITED=1 INPUT\_CHAIN\_EDITEDv6= FORWARD\_CHAIN\_EDITEDv6= pivpnPROTO=udp pivpnMTU=1420 pivpnDEV=wg0 pivpnNET=[10.37.212.0](https://10.37.212.0/) subnetClass=24 pivpnenableipv6=0 ALLOWED\_IPS="[0.0.0.0/0](https://0.0.0.0/0), ::0/0" UNATTUPG=1 INSTALLED\_PACKAGES=() DNSMASQ\_LISTENING=all ============================================= :::: Server configuration shown below :::: \[Interface\] PrivateKey = server\_priv Address = [10.37.212.2/24](https://10.37.212.1/24) PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE MTU = 1280 ListenPort = 51820 \### begin client2 ### \[Peer\] PublicKey = client2\_pub PresharedKey = client2\_psk AllowedIPs = [10.37.212.3/32](https://10.37.212.2/32) \### end client2 ### \### begin realme8 ### \[Peer\] PublicKey = realme8\_pub PresharedKey = realme8\_psk AllowedIPs = [10.37.212.4/32](https://10.37.212.3/32) \### end realme8 ### ============================================= :::: Client configuration shown below :::: \[Interface\] PrivateKey = client2\_priv Address = [10.37.212.3/24](https://10.37.212.2/24) DNS = [1.1.1.1](https://1.1.1.1/), [1.0.0.1](https://1.0.0.1/) \[Peer\] PublicKey = server\_pub PresharedKey = client2\_psk Endpoint = REDACTED:51820 AllowedIPs = [0.0.0.0/0](https://0.0.0.0/0), ::0/0 ============================================= :::: Recursive list of files in :::: :::: /etc/wireguard shown below :::: /etc/wireguard: configs keys wg0.conf /etc/wireguard/configs: client2.conf clients.txt realme8.conf /etc/wireguard/keys: client2\_priv client2\_psk client2\_pub realme8\_priv realme8\_psk realme8\_pub server\_priv server\_pub ============================================= :::: Self check :::: :: \[OK\] IP forwarding is enabled :: \[OK\] Iptables MASQUERADE rule set :: \[OK\] Iptables INPUT rule set :: \[OK\] Iptables FORWARD rule set :: \[OK\] WireGuard is running :: \[OK\] WireGuard is enabled (it will automatically start on reboot) :: \[OK\] WireGuard is listening on port 51820/udp ============================================= :::: Having trouble connecting? Take a look at the FAQ: :::: [https://docs.pivpn.io/faq](https://docs.pivpn.io/faq) ============================================= :::: WARNING: This script should have automatically masked sensitive :::: :::: information, however, still make sure that PrivateKey, PublicKey :::: :::: and PresharedKey are masked before reporting an issue. An example key :::: :::: that you should NOT see in this log looks like this: :::: :::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe :::: ============================================= :::: Debug complete :::: ::: ::: Debug output completed above. ::: Copy saved to /tmp/debug.log :::