I have searched the forum for similar issues
on
This category is for issues regarding specific apps, NOT general issues with YunoHost.
on
This form is written in English but feel free to write in French if you’re more comfortable!
on
What app is this about, and its version
WireGuard Server, 0.6.2~ynh7
What YunoHost version are you running
12.1.41.2
What type of hardware are you using
VPS bought online
Describe your issue
I’m trying to use my Yunohost on a Debian 12 VPS in Europe as a VPN from here in Taiwan. I installed WireGuard Server (0.6.2~ynh7) and set up a couple of clients with defaults. On my Ubuntu 26.04 machine I downloaded and imported the settings:
sudo nmcli connection import type wireguard file /home/mat/Downloads/Aeon.conf
On Android I used the WireGuard app to scan a QR code. Both of them appear to connect fine. However, neither of them can ping any sites with their VPN switched on - not by FQDN, not by IP address. Even pinging the address 10.10.10.0 on the other end of the VPN doesn’t get a response. Looking at ip r, nothing is being routed through the VPN. I can still ping the usual router on 192.168.0.1.
I believe one problem is that the VPS has not set up NAT for the clients. It’s not clear whether WireGuard Server is even supposed to be used that way. In fact it’s not clear to me whether WireGuard is supposed to be a VPN in the NordVPN sense at all. Is this just a “feel free to install your own batteries” situation, or is something not working as it’s supposed to?
But then, it also doesn’t look right that I can’t see any VPN routes with ip r. Am I expected to figure that part out myself as well? Since the client here is a laptop, I’m trying to use the Gnome GUI as far as possible, not fiddle with config files.
Here is the redacted config file. I’ve read that the AllowedIPs bit is supposed to redirect all traffic through the VPN, but that doesn’t seem to be happening on Ubuntu.
[Interface]
Address = fd42::1/128,10.10.10.1/32
PrivateKey = REDACTED
DNS = 1.1.1.1
MTU = 1450
[Peer]
PublicKey = REDACTED
PresharedKey = REDACTED
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = REDACTED:8095
PersistentKeepalive = 15
Share relevant logs or error messages
No relevant logs (until someone suggests something)