So, I tried to configure these two interfaces:

interface: wg1

  public key: my_public_key1

  private key: (hidden)

  listening port: 51820


peer: public_key_server1

  endpoint: ip_server1:51820

  allowed ips: 0.0.0.0/0


and

interface: wg2

  public key: my_public_key2

  private key: (hidden)

  listening port: 51821


peer: public_key_server2

  endpoint: ip_server2:51821

  allowed ips: 0.0.0.0/0



but only one Wireguard interfaces is online (handshake on both).

Where is my mistake?

Thanks 


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, February 17, 2019 9:36 AM, Lucian Cristian <luci@powerneth.ro> wrote:

On 09.02.2019 11:20, Alexago wrote:
Hi,

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.

MWAN3 is useful to choose
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).

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.

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.

Can you help me?

Thanks






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

use another "server" port for the second vpn

Regards