How ca I use two peers with 0.0.0.0?

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


Hello!

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 0.0.0.0 for both of them on client side.

So this my configuration on clientside behind NAT
[Interface]
ListenPort = 51820
PrivateKey = KEY
[Peer]
PublicKey = KEY1
AllowedIPs = 0.0.0.0/0
Endpoint = X.X.X.X:51820
[Peer]
PublicKey = KEY2
AllowedIPs = 0.0.0.0/0
Endpoint = X.X.X.X:51820
Wireguard don't allow me to use 0.0.0.0 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: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20190401/5b1ce2d4/attachment-0001.html>


More information about the WireGuard mailing list