This is an automated archive.
The original was posted on /r/wireguard by /u/CrystalNPYT on 2024-01-15 07:47:33+00:00.
Hi, I am trying to set up wireguard using pivpn and I have set up everything correctly as far as I know. I have port forwarded 51820 on udp, disabled firewall, recheck the ips and gateway and stuff. When I connect from my phone or windows to the wireguard server there is no internet access but it is transmitting something where my Rx remains at 0B all the time. I am new to this and I don't really know what to do please help.
:::: PiVPN debug ::::
:::: Latest commit ::::
Branch: master
Commit: a85d3752ef94ed1aaad70ba6d483f93583152eca
Author: Orazio
Date: Wed Dec 13 18:09:55 2023 +0100
Summary: fix(scripts): disallow using server's name as client name (#1791)
:::: Installation settings ::::
PLAT=Ubuntu
OSCN=jammy
USING_UFW=0
IPv4dev=enp2s0
IPv6dev=enp2s0
install_user=crystal
install_home=/home/crystal
VPN=wireguard
pivpnPORT=51820
pivpnDNS1=8.8.8.8
pivpnDNS2=8.8.4.4
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.178.174.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=()
:::: Server configuration shown below ::::
[Interface]
PrivateKey = server_priv
Address = 10.178.174.1/24,fd11:5ee:bad:c0de::1/64
MTU = 1420
ListenPort = 51820
begin Test
[Peer]
PublicKey = Test_pub
PresharedKey = Test_psk
AllowedIPs = 10.178.174.2/32,fd11:5ee:bad:c0de::2/128
end Test
:::: Client configuration shown below ::::
[Interface]
PrivateKey = Test_priv
Address = 10.178.174.2/24,fd11:5ee:bad:c0de::2/64
[Peer]
PublicKey = server_pub
PresharedKey = Test_psk
Endpoint = REDACTED:51820
AllowedIPs = 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:
clients.txt
Test.conf
/etc/wireguard/keys:
server_priv
server_pub
Test_priv
Test_psk
Test_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