0

im using open connect for coonecting to VPN on a headless remote pc with LUbuntu 19 and using ssh to remote connect. recently the ISP has some issues and i have about 2-5 times disconnects in every day approximately :(

im using following command to connect:

openconnect --reconnect-timeout 10 ...

problem is here that --reconnect-timeout does not work as expected and will be failed.

i have several cron jobs that must use over vpn so i need a solution or script to 1st check the network ip or openconnect status and if its failed and 2nd face establish new openconnect connection.

thanks in advance

  • any help appreciated – DaRiOuShJh Sep 16 at 7:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.