Trouble with wireguard on linux desktop

Hi folks,
I am learning about self-hosting and am experimenting with using a wireguard VPN on my YUNOhost installation (on a bought VPS).
I have installed it with the default settings and am able to use it effectively on my android phone via the app from F-droid but on my Debian-based desktop the connection is extremely slow and practically does not work. I have downloaded the wg0.conf file from my wireguard and copied it to etc/wireguard.
Do I need to do anything else e.g add firewall rules?
Any help you can offer would much appreciated.

YUNOhost version 11.1.13
Bought VPS

Can you confirm that:

  • you are running WireGuard server v0.4.0~ynh1?
  • you have created a dedicated client configuration for your desktop (i.e. not using the same as your phone)?

Then, can you share the output of the sudo wg command when the VPN is online on your desktop?
Can you also try pinging your server from within the VPN? (its address ends by .0)

Hi, thanks for your help.
Yes, I am using v0.4.0~ynh1 and yes, I have made two clients; one for my phone and one for my desktop.
I don’t understand what you mean by pinging the server from within the VPN… The only address ending with .0 that I can see is one of the Server Interface Addresses. Should I ping this address from the command line with the VPN activated?
My output from sudo wg is:

interface: desktop
public key: TKlp9D5isVvf3f9iIfSGAzuFU/cHqWrhIb79DdhFq0M=
private key: (hidden)
listening port: 58339
fwmark: 0xca6c

peer: bVI/J3rSVuCvFSfqKsvK53+6Uo1vhJi30Q7x9zqj/GE=
preshared key: (hidden)
endpoint: 93.95.230.45:8096
allowed ips: 0.0.0.0/0
latest handshake: 8 seconds ago
transfer: 988 B received, 28.73 KiB sent
persistent keepalive: every 15 seconds

Thanks for your help with this :slight_smile:

Yes :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.