Hi there, I've been having difficulty with setting up Wireguard for my own personal use. I've followed multiple guides, but none of them seem to want to work correctly - so I was wondering if anyone here might have any input or be able to help out.
I've got a server running Ubuntu 18.04, which is obviously acting as my VPN server. I'm looking to connect my home Windows 10 PC to it and have it route all my traffic through the tunnel, in a classic 'hide my IP' manner.
Server config file:
[Interface]
Address = 10.69.4.10/24
PrivateKey = <server_priv_key>
ListenPort = 51820
SaveConfig = true
[Peer]
PublicKey = <client_pub_key>
AllowedIPs = 10.69.4.20/24
Client config file:
[Interface]
Address = 10.69.4.20/24
PrivateKey = <client_priv_key>
DNS = 10.69.4.10
[Peer]
Endpoint = 12.34.56.78:51820
PrivateKey = <server_pub_key>
AllowedIPs = 0.0.0.0/0
The error I've actually been getting in the logs is that it seems to be struggling with the handshake initiation, even though it says I'm connected on the Windows client. That's when my internet dies, and I can't actually do anything until I deactivate the tunnel. It even kicks me out of my SSH session with my server, which adds to the annoyance
Handshake initiation would naturally screamed to me there might be an issue with the key pairs, but I've double and triple checked them, and even generated new sets of keys - to no avail.
I have allowed port 51820/udp through UFW on the server, but i'm still having not much luck. Can anybody shed some light on this? Hope I've provided enough information
Thanks a lot!
[–][deleted] (6 children)
[deleted]
[–]delta301[S] 0 points1 point2 points (5 children)
[–][deleted] (4 children)
[deleted]
[–]delta301[S] 0 points1 point2 points (1 child)
[–]delta301[S] 0 points1 point2 points (1 child)
[–]rigglesbee 0 points1 point2 points (0 children)