Responding to auth-fail as client
Posted: Fri Sep 13, 2013 10:19 am
Hey everyone,
I am currently at a dead end on how to make my openvpn client chose a new remote server on auth-fail.
I have a list of remotes that i connect randomly to with remote-random but sometimes one of them fails to accept my login.
So depending on how auth-retry is set I either end up in an infinite auth loop even though all other remotes would work perfectly fine or I end up with a fatal error.
I now need a way to restart openvpn automatically on fatal error or to make it chose a new remote if auth fails.
I am not experienced enough to find a solution here.
I am working with openvpn 2.2 on raspberrypi as service on debian.
I am currently at a dead end on how to make my openvpn client chose a new remote server on auth-fail.
I have a list of remotes that i connect randomly to with remote-random but sometimes one of them fails to accept my login.
So depending on how auth-retry is set I either end up in an infinite auth loop even though all other remotes would work perfectly fine or I end up with a fatal error.
I now need a way to restart openvpn automatically on fatal error or to make it chose a new remote if auth fails.
I am not experienced enough to find a solution here.
I am working with openvpn 2.2 on raspberrypi as service on debian.