Have two server IP's, one as fallback?

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Calby
OpenVpn Newbie
Posts: 5
Joined: Wed Jul 19, 2017 3:54 pm

Have two server IP's, one as fallback?

Post by Calby » Thu Jul 20, 2017 5:40 am

Hi,
I'm wondering if it's possible to have two server IP's in the client config file?
I want to have one IP as fallback if the other IP stops to work.

I did just find this in the config file, but it states that it's just to keep the load from one server down etc. I want to bee sure that if ip no1 don't work the client 'll try to connect to ip no2 is that possible?
It does not have to bee in that order just that if one IP don't work the config 'll try the other one.
Both IP's of my is up and working so which one that are in use don't matter.

# The hostname/IP and port of the server.
# You can have multiple remote entries
# to load balance between the servers.
remote my.server.no1 443
remote my.server.no2 443

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Have two server IP's, one as fallback?

Post by TinCanTech » Thu Jul 20, 2017 12:09 pm

See <connection> in The Manual v24x

Post Reply