So I had this problem for hours now, can someone please help.
I get the following error: Handshake did not complete after 5 seconds, retrying (try 2) when trying to connect to my VPN server on my iPhone with the wireguard app. I am using cellular data.
I also opened the port 51820 on my server, so that should cause no trouble.
Am I doing anything wrong? Again, the error is Handshake did not complete after 5 seconds, retrying (try 2). I already tried to recreate the keys which some people suggested, but that did not help unfortunately. It might also be good to know that I have DSL internet and a FritzBox router.
I get no errors anymore after setting it up again with new keys. The problem that I have now is that once I connect to the VPN I can access the internet but the ip just stays the same.
I only tried it with cellular data as I had no chance of trying it from another network. But I mean that should work as well.
With my cellular data. And it shows up the ip address. But then when I turn the vpn connection on, instead of the ip changing to my home network address it stays the same.
I didn’t ask about the IPs you use, I was asking if you route all the traffic over wireguard or only the traffic that is dedicated to the wireguard IPs?
If you don’t route all the traffic via wireguard, then your IP won’t change, obviously.
If you route all traffic via wireguard and haven’t set up your wireguard “server” for actual routing, your phone would be offline once connected to the VPN.
If you route all the traffic via wireguard and at up your wireguard server for proper routing and maybe natting, then your IP shown by the service would indeed change.
@NobbZ i do not really know to be honest. I can only tell you that I send an endpoint to the public ip of my server and opened the proper port for the server on my router.
Can you tell me where I can check what you talked about? Sorry, this is my first time working with a vpn
As long as the devices can not ping each other the VPN is not fully active.
I have to say though, I have no experience using WireGuard. So far all my experiences have been using ZeroTier and OpenVPN, and I also never wanted to route everything, only the VPN traffic.
As mentioned before, I suggest you use a laptop instead and then share the NixOS configuration for both the server and client. That will make things a lot easier for everyone involved.