* Load Balancing and policy routing with Wireguard
@ 2019-02-09 9:20 Alexago
2019-02-17 8:36 ` Lucian Cristian
0 siblings, 1 reply; 3+ messages in thread
From: Alexago @ 2019-02-09 9:20 UTC (permalink / raw)
To: wireguard
[-- Attachment #1.1: Type: text/plain, Size: 1066 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1527 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] 3+ messages in thread
* Re: Load Balancing and policy routing with Wireguard
2019-02-09 9:20 Load Balancing and policy routing with Wireguard Alexago
@ 2019-02-17 8:36 ` Lucian Cristian
2019-02-17 15:09 ` Alexago
0 siblings, 1 reply; 3+ messages in thread
From: Lucian Cristian @ 2019-02-17 8:36 UTC (permalink / raw)
To: wireguard
[-- Attachment #1.1: Type: text/plain, Size: 1401 bytes --]
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: 2993 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] 3+ messages in thread
* Re: Load Balancing and policy routing with Wireguard
2019-02-17 8:36 ` Lucian Cristian
@ 2019-02-17 15:09 ` Alexago
0 siblings, 0 replies; 3+ messages in thread
From: Alexago @ 2019-02-17 15:09 UTC (permalink / raw)
To: wireguard
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-02-18 23:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-09 9:20 Load Balancing and policy routing with Wireguard Alexago
2019-02-17 8:36 ` Lucian Cristian
2019-02-17 15:09 ` Alexago
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).