From: Alexago <alexago@alexago.xyz>
To: "wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: Re: Load Balancing and policy routing with Wireguard
Date: Sun, 17 Feb 2019 15:09:06 +0000 [thread overview]
Message-ID: <UsxEN5P55qylfQWbi6PVeGfDgho_ABxTuFtyAwYcOArwaNvrlMLEn7qYE2UvthEaDlJcDFLLnyRQ-iIy1FHlpUoMGoWLKWfDSwETnGGoLxM=@alexago.xyz> (raw)
In-Reply-To: <c4bf6251-65b1-fe2a-ec8a-6b0eb8053cee@powerneth.ro>
[-- Attachment #1.1: Type: text/plain, Size: 2089 bytes --]
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](https://protonmail.com) 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
>>
>> - VPN connection based on source or destination address, port, for example
>> - load balancing two or more VPN connections, based on source, destination and port, for example
>>
>> 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
[-- Attachment #1.2: Type: text/html, Size: 9850 bytes --]
[-- Attachment #2: Type: text/plain, Size: 148 bytes --]
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
prev parent reply other threads:[~2019-02-18 23:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-09 9:20 Alexago
2019-02-17 8:36 ` Lucian Cristian
2019-02-17 15:09 ` Alexago [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='UsxEN5P55qylfQWbi6PVeGfDgho_ABxTuFtyAwYcOArwaNvrlMLEn7qYE2UvthEaDlJcDFLLnyRQ-iIy1FHlpUoMGoWLKWfDSwETnGGoLxM=@alexago.xyz' \
--to=alexago@alexago.xyz \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).