OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Define multiple servers in OpenVPN client config
« previous next »
  • Print
Pages: [1]

Author Topic: Define multiple servers in OpenVPN client config  (Read 1058 times)

werner

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Define multiple servers in OpenVPN client config
« on: June 13, 2017, 12:21:37 pm »
Hi,

I'm trying to figure out how to get multiple

remote xxx.xxx.xxx.xxx tcp-client

lines in the autogenerated client config for OpenVPN.

I have two OpenVPN servers that cannot use CARP due to vCloud restrictions, the sync users, certificates, firewall rules etc so they can both be used. Using multiple remote lines in OpenVPN client config causes the client to use the backup server if the primary fails.

I just cannot figure out if this can be done using the GUI... Or is there any other way (override a template) to accomplish this ? There's just to many vpn users to manually fix each persons client config file :(

Best regards,

Werner
Logged

werner

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Define multiple servers in OpenVPN client config
« Reply #1 on: June 13, 2017, 12:53:29 pm »
Ok, found a solution through the client export page: /vpn_openvpn_export.php, can add extra remote lines there.

Can add extra option lines in here. Only thing is it isn't possible to save settings there, at least I don't have a save button there. Is it supposed to be this way ?

Would be nicer if you could save those settings for future usage.

Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Define multiple servers in OpenVPN client config
 

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