Multiple ddns as backup for client config?

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
jamesnewman
OpenVpn Newbie
Posts: 1
Joined: Fri May 18, 2012 11:54 pm

Multiple ddns as backup for client config?

Post by jamesnewman » Fri May 18, 2012 11:56 pm

Hi,

Because my server does not have a static IP, I'm using a dynamic dns service. However, I don't feel having just one is reliable, so I've signed up for 3 ddns services that all autoreport the server's ip address to the respective ddns service.

In the client config, is there a way to kind of list all the ddns addresses with the port so that if one ddns address connection fails, the config moves on to the next one?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Multiple ddns as backup for client config?

Post by janjust » Sat May 19, 2012 12:21 am

you can list multiple remote statements using either

Code: Select all

remote host1 port1
remote host2 port2
etc or using

Code: Select all

<connection>
remote host1
port port1
</connection>

<connection>
remote host2
port port2
</connection>

Post Reply