Open mLupine opened 3 years ago
I can confirm this is a recurring issue, it happens when the client’s handshake with the Router.
When there is more than one client on the edge router, the router will attend the handshake from one client, and during that time it will loss the packets, once the handshake is complete it will provide service to both of them, latter the client 2 will get a packet loss, wireguard will try to reconnect and so on.
The results, packets being lost for both clients, what I have seen so far, only one client can connect at a time to the router.
My configuration is the edgerouter and 2 vps connecting to the network. A little different from issue the configuration, however the packet loss happens during the handshake from one of the vps.
Hi,
I want to move from IPSec to WireGuard for connecting my home network to external VMs. The diagram below shows how I connected everything and you can find my configuration of the Ubiquiti EdgeRouter X and WireGuard on Debian on "VPS 1" and "VPS 2" machines.
VPS 1:
VPS 2:
EdgeRouter X:
And, unfortunately, it doesn't work 😕. Here's how the connection from the home network to VPS 1 looks like:
And it's the same for VPS 2. Every few packets, one of them is dropped.
However, things look different when connecting from VPS 1 or 2 to the home network:
Only one in a few dozens packets doesn't get lost.
Routing is configured correctly (I think) and I also can't see the packets getting blocked anywhere on any firewall.
Here's a tcpdump of wg0 on the EdgeRouter X while pinging 172.20.10.2 from the local 192.168.10.10:
Barely a single reply every dozen requests. Also, here's the tcpdump from VPS 2 while executing the very same ping:
Do you have any suggestions on what I'm doing wrong?
Any help will be greatly appreciated.
M.