Development discussion of WireGuard
 help / color / mirror / Atom feed
* How ca I use two peers with 0.0.0.0?
@ 2019-04-01 10:05 Дмитрий Марков
  2019-04-05 17:48 ` ajs124
  0 siblings, 1 reply; 2+ messages in thread
From: Дмитрий Марков @ 2019-04-01 10:05 UTC (permalink / raw)
  To: WireGuard


[-- Attachment #1.1: Type: text/plain, Size: 618 bytes --]


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

[-- Attachment #1.2: Type: text/html, Size: 746 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-05 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-01 10:05 How ca I use two peers with 0.0.0.0? Дмитрий Марков
2019-04-05 17:48 ` ajs124

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).