This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Set VPN to connect on startup /retry if connection loss

Is there a way to have the vpn client installed on a server to autolog in on reboot or if the connection fails?


This thread was automatically locked due to age.
Parents
  • Yes, you have to create a text file with your username and password. Now add that file to your ovpn config ("auth-user-pass ").

    Then start SSL VPN with a scheduled task on reboot:
    "" --connect .ovpn

    ----------
    Sophos user, admin and reseller.
    Private Setup:

    • XG: HPE DL20 Gen9 (Core i3-7300, 8GB RAM, 120GB SSD) | XG 18.0 (Home License) with: Web Protection, Site-to-Site-VPN (IPSec, RED-Tunnel), Remote Access (SSL, HTML5)
    • UTM: 2 vCPUs, 2GB RAM, 50GB vHDD, 2 vNICs on vServer (KVM) | UTM 9.7 (Home License) with: Email Protection, Webserver Protection, RED-Tunnel (server)
  • Yes, you have to create a text file with your username and password. Now add that file to your ovpn config ("auth-user-pass ").

    Then start SSL VPN with a scheduled task on reboot:
    "" --connect .ovpn


    that sounds like what i need

    what format should the user\password be in

    can you give me an example?
Reply
  • Yes, you have to create a text file with your username and password. Now add that file to your ovpn config ("auth-user-pass ").

    Then start SSL VPN with a scheduled task on reboot:
    "" --connect .ovpn


    that sounds like what i need

    what format should the user\password be in

    can you give me an example?
Children
No Data