I have installed openvpn 2.2, and in my clients I have the following configuration:
proto udp
port 1194
dev tun
remote HOST1
remote HOST2
remote-random
client
pull
comp-lzo
keepalive 10 30
persist-key
persistence
float
tls-client
dh keys / dh1024.pem
ca keys / ca.crt
cert keys / SERVERX.crt
key keys / SERVERX.key
verb 3
status /var/log/openvpn/openvpn-status.log
log /var/log/openvpn/openvpn.log
log-append /var/log/openvpn/openvpn.log
I have problems when host1 loses the connection, automatically openvpn goes to host2, I would like to know if it has any parameters for Openvpn to return to HOST1 when it is automatically available, without having to restart the openvpn service.
Openvpn resume primary remote host automatically ? HELP-ME
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 1
- Joined: Sat Sep 30, 2017 3:46 pm
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm