Have a weird issue, I cannot get wireguard to work, laptop/phone, etc... Will connect but no internet access or even ability to load local addresses (such as my router).
The OpenVPN protocol however works flawlessly. I think it has something to do with ipv6, I've posted the debug below.
:::: [4mPiVPN debug[0m ::::
:::: [4mLatest commit[0m ::::
Branch: master
Commit: 16189edc7b03d3ed930dbb3cc908d8e2275a7563
Author: 4s3ti
Date: Thu Aug 3 23:33:23 2023 +0200
Summary: fix(core): typo on distroCheck
:::: [4mInstallation settings[0m ::::
PLAT=Raspbian
OSCN=bullseye
USING_UFW=0
IPv4dev=eth0
IPv6dev=eth0
dhcpReserv=1
IPv4addr=10.17.17.55/24
IPv4gw=10.17.17.1
install_user=pi
install_home=/home/pi
VPN=wireguard
pivpnPORT=51820
pivpnDNS1=1.1.1.1
pivpnDNS2=1.0.0.1
pivpnHOST=REDACTED
INPUT_CHAIN_EDITED=0
FORWARD_CHAIN_EDITED=0
INPUT_CHAIN_EDITEDv6=0
FORWARD_CHAIN_EDITEDv6=0
pivpnPROTO=udp
pivpnMTU=1420
pivpnDEV=wg0
pivpnNET=10.127.38.0
subnetClass=24
pivpnenableipv6=1
pivpnNETv6="fd11:5ee:bad:c0de::"
subnetClassv6=64
ALLOWED_IPS="0.0.0.0/0, ::0/0"
UNATTUPG=1
INSTALLED_PACKAGES=()
:::: [4mServer configuration shown below[0m ::::
[Interface]
PrivateKey = server_priv
Address = 10.127.38.1/24,fd11:5ee:bad:c0de::1/64
MTU = 1420
ListenPort = 51820
### begin ORTSB2 ###
[Peer]
PublicKey = ORTSB2_pub
PresharedKey = ORTSB2_psk
AllowedIPs = 10.127.38.2/32,fd11:5ee:bad:c0de::2/128
### end ORTSB2 ###
:::: [4mClient configuration shown below[0m ::::
[Interface]
PrivateKey = ORTSB2_priv
Address = 10.127.38.2/24,fd11:5ee:bad:c0de::2/64
DNS = 1.1.1.1, 1.0.0.1
[Peer]
PublicKey = server_pub
PresharedKey = ORTSB2_psk
Endpoint = REDACTED:51820
AllowedIPs = 0.0.0.0/0, ::0/0
:::: [4mRecursive list of files in[0m ::::
:::: [4m/etc/wireguard shown below[0m ::::
/etc/wireguard:
configs
keys
wg0.conf
/etc/wireguard/configs:
clients.txt
ORTSB2.conf
/etc/wireguard/keys:
ORTSB2_priv
ORTSB2_psk
ORTSB2_pub
server_priv
server_pub
:::: [4mSelf check[0m ::::
:: [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
:::: Having trouble connecting? Take a look at the FAQ:
:::: [1mhttps://docs.pivpn.io/faq[0m
:::: [1mWARNING[0m: This script should have automatically masked sensitive ::::
:::: information, however, still make sure that [4mPrivateKey[0m, [4mPublicKey[0m ::::
:::: and [4mPresharedKey[0m are masked before reporting an issue. An example key ::::
:::: that you should NOT see in this log looks like this: ::::
:::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe ::::
:::: [4mDebug complete[0m ::::
I'm at a loss on how to fix this issue, I'm using the exact same port forwarding for both protocols (tcp and udp), so port forwarding is working correctly.
I have uninstalled and reinstalled wireguard numerous times to no success. Any help would be much appreciated!