Reconnect or next server when connection lost
Posted: Mon Mar 09, 2015 2:46 pm
Hi,
I have a vpn subscription and I'm using openVPN client to connect to the server(s) over UPD.
Someties it happens that the server goes offline, or the connection is lost for some reason, and then my real IP is exposed. Could you help me how can I configure that:
- if a connection is lost, openVPN immediatly tries to reconnect, but if fails, then moves to the next server I have configures, and goes on like this
I believe it will be related to the "--remote host" option, but not sure how to configure the check when a connection is lost -> proceed with retry lets say 5 times, if failed, proceed to the next server address.
Many thanks!
I have a vpn subscription and I'm using openVPN client to connect to the server(s) over UPD.
Someties it happens that the server goes offline, or the connection is lost for some reason, and then my real IP is exposed. Could you help me how can I configure that:
- if a connection is lost, openVPN immediatly tries to reconnect, but if fails, then moves to the next server I have configures, and goes on like this
I believe it will be related to the "--remote host" option, but not sure how to configure the check when a connection is lost -> proceed with retry lets say 5 times, if failed, proceed to the next server address.
Many thanks!