OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • Wireguard multiple VPN server endpoints - round robin?
« previous next »
  • Print
Pages: [1]

Author Topic: Wireguard multiple VPN server endpoints - round robin?  (Read 3821 times)

ajohn

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Wireguard multiple VPN server endpoints - round robin?
« on: October 10, 2020, 10:08:05 am »
Hi, I've successfully setup my OPNsense firewall as a wireguard client. My VPN provider provides many servers, so I have configured multiple under "endpoints". OPNsense allows me to enable multiple, but it will always send traffic to the first enabled in the list.

Is there any way to periodically switch automatically between VPN servers?
Logged

Kieeps

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: Wireguard multiple VPN server endpoints - round robin?
« Reply #1 on: November 28, 2020, 10:51:15 am »
Sorry to resurrect an old post but i'w been trying to figure this out as well, the fact that you can select a bunch of endpoints gives the impression of some kind of faiöover right? But how would it know when to change?

The only way I can think of to make this work is set up multiple connections, all with their own single endpoint,disable automatic routing and add a gateway to each connection and loadbalance the gateways in a gateway group... But this seems way more advanced for the functionality it provides :-D

EDIT: come to think of it, this would limit the amount of servers you can use to the amount of allowed clients, I guess it's better then nothing though but what is the actually point of enabling more then 1 endpoint anyway? Is there some unexplained functionality?
« Last Edit: November 28, 2020, 10:54:24 am by Kieeps »
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6479
  • Karma: 449
    • View Profile
Re: Wireguard multiple VPN server endpoints - round robin?
« Reply #2 on: November 28, 2020, 10:57:20 am »
Quote from: Kieeps on November 28, 2020, 10:51:15 am
Sorry to resurrect an old post but i'w been trying to figure this out as well, the fact that you can select a bunch of endpoints gives the impression of some kind of faiöover right? But how would it know when to change?

The only way I can think of to make this work is set up multiple connections, all with their own single endpoint,disable automatic routing and add a gateway to each connection and loadbalance the gateways in a gateway group... But this seems way more advanced for the functionality it provides :-D

EDIT: come to think of it, this would limit the amount of servers you can use to the amount of allowed clients, I guess it's better then nothing though but what is the actually point of enabling more then 1 endpoint anyway? Is there some unexplained functionality?

No, it more or less failover Controlled by WireGuard itself
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • Wireguard multiple VPN server endpoints - round robin?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2