<div>So, I tried to configure these two interfaces:<br></div><div><div><br></div></div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(52, 188, 38)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><b>interface</b></span><span style="color:rgb(0, 0, 0)">: </span><span style="font-variant-ligatures: no-common-ligatures">wg1</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(0, 0, 0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span> </span><b>public key</b>: my_public_key1</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(0, 0, 0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span> </span><b>private key</b>: (hidden)</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(0, 0, 0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span> </span><b>listening port</b>: 51820</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(175, 173, 36)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><b>peer</b></span><span style="color:rgb(0, 0, 0)">: public_key_server1</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(0, 0, 0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span> </span><b>endpoint</b>: ip_server1:51820</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(0, 0, 0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span> </span><b>allowed ips</b>: 0.0.0.0</span><span style="color:rgb(51, 187, 200)">/</span><span style="font-variant-ligatures: no-common-ligatures">0</span></span></span></span></span><br></p><div><div><br></div></div><div>and<br></div><div><div><br></div></div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(52, 188, 38)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><b>interface</b></span><span style="color:rgb(0, 0, 0)">: </span><span style="font-variant-ligatures: no-common-ligatures">wg2</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(0, 0, 0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span> </span><b>public key</b>: my_public_key2</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(0, 0, 0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span> </span><b>private key</b>: (hidden)</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(0, 0, 0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span> </span><b>listening port</b>: 51821</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(175, 173, 36)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><b>peer</b></span><span style="color:rgb(0, 0, 0)">: public_key_server2</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(0, 0, 0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span> </span><b>endpoint</b>: ip_server2:51821</span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(0, 0, 0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span> </span><b>allowed ips</b>: 0.0.0.0</span><span style="color:rgb(51, 187, 200)">/</span><span style="font-variant-ligatures: no-common-ligatures">0</span></span></span></span></span><br></p><div><div><br></div><div><br></div></div><div>but only one Wireguard interfaces is online (handshake on both).<br></div><div><br></div><div>Where is my mistake?<br></div><div><br></div><div>Thanks <br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton">Sent with <a target="_blank" href="https://protonmail.com">ProtonMail</a> Secure Email.<br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Sunday, February 17, 2019 9:36 AM, Lucian Cristian <luci@powerneth.ro> wrote:<br></div><div> <br></div><blockquote type="cite" class="protonmail_quote"><div class="moz-cite-prefix">On 09.02.2019 11:20, Alexago wrote:<br></div><blockquote type="cite"><div>Hi,<br></div><div><br></div><div>actually I use on my router (OpenWRT) two OpenVPN connections
and one Wireguard connection (all VPN connections are client)
over my WAN connection (1Gbps/500Mbps) with 2 different VPN
providers (Mullvad and IVPN): for policy routing and load
balancing, with these connections, I use MWAN3 package.<br></div><div><br></div><div>MWAN3 is useful to choose <br></div><ul><li>VPN connection based on source or destination address, port,
for example<br></li><li>load balancing two or more VPN connections, based on source,
destination and port, for example<br></li></ul><div>Now I would like to switch my two OpenVPN connections to
Wireguard, so I would like to have three simultaneous Wireguard
connections (obviously with 3 different Wireguard servers).<br></div><div><br></div><div>My problem is how to use simultaneous Wireguard connections
(with allowed ips =0.0.0.0/0) and to leave to external package
(like MWAN3) to choose routing policy and also load balancing.<br></div><div><br></div><div>I tried to configure two Wireguard connections but only one
of these goes online, the other one is always offline: I think
problem is multiple "0.0.0.0/0" allowed IPs.<br></div><div><br></div><div>Can you help me?<br></div><div><br></div><div>Thanks<br></div><div><br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user
protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton"><br></div></div><div><br></div><div><br></div><pre wrap="">_______________________________________________
WireGuard mailing list
<a href="mailto:WireGuard@lists.zx2c4.com">WireGuard@lists.zx2c4.com</a>
<a href="https://lists.zx2c4.com/mailman/listinfo/wireguard">https://lists.zx2c4.com/mailman/listinfo/wireguard</a>
<br></pre></blockquote><p>use another "server" port for the second vpn<br></p><p>Regards<br></p></blockquote><div><br></div>