I request help for
testing an auto switching function as I don't know how to simulate a remote VPN server failure.
How to test:
1. cd to the script's source directory
2. chmod u+x auto*.sh
autoswitch my_vpn_directory vpnroute nonpersistent random latency
Then wait for a connection failure from your VPN provider.
Report if the script does not try to make another connection.
What other options might I be missing in order for openvpn to shutdown on its own in case of VPN server failure?
What other features do you want prioritized?