How ca I use two peers with

Дмитрий Марков dmitri__13 at
Mon Apr 1 12:05:20 CEST 2019


Recently I tried to install wireguard. 

I have 4 computers. 2 of them have public ip. 2 of them behind NAT.

I want to use 2 public PC as endpoits, but I don't understand how to set up for both of them on client side.

So this my configuration on clientside behind NAT
ListenPort = 51820
PrivateKey = KEY
PublicKey = KEY1
AllowedIPs =
Endpoint = X.X.X.X:51820
PublicKey = KEY2
AllowedIPs =
Endpoint = X.X.X.X:51820
Wireguard don't allow me to use on both of them. How can I use two peers at this situation?

With Best Regards,
Dmitry Markov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the WireGuard mailing list