VibrantSpring Promo
Save up to 50%80%70%70%70%70%70%70%70% on a Sophos Firewall of your choice.
Choose XGS Firewall modelSave up to 50%80%70%70%70%70%70%70%70% on a Sophos Firewall of your choice.
Choose XGS Firewall modelIn this article, we will show you how to set the Sophos SSL VPN client to start right after Windows login and connect automatically.
Info: For this tutorial, we assume that you already have the Sophos SSL VPN client installed on your Windows system. Otherwise, the following two instructions may help you:
When you install the SSL VPN client, a shortcut is automatically placed in the autostart. However, we will now create our own shortcut in the course of this tutorial and we can deactivate the existing shortcut first.
Autostart
.Note: In Windows 10, you can find the settings for Autostart in the Task Manager. With older Windows versions there is an autostart folder.
For our own shortcut in the autostart, which we will create later in the registry, we first compose a command line with a few parameters. The command line is structured as follows:
"[Pfad-zu-openvpn-gui.exe" --config_dir "[Pfad-zur-Open-VPN-config-Datei]" --connect [Name-der-Open-VPN-config-Datei].ovpn
So to build this command line you need two paths and the name of your Open VPN Config file:
In our example, our whole command line then looks like this:
"C:\Program Files (x86)\Sophos\Sophos SSL VPN Client\bin\openvpn-gui.exe" --config_dir "C:\Program Files (x86)\Sophos\Sophos SSL VPN Client\config\" --connect avanet@xglab.avanet.com.ovpn
Once you have assembled your own command line, you can now define a new autostart entry in the registry.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
.Neu
> Zeichenfolge
.OK
and close the registry editor.To avoid having to enter the VPN password every time you restart your computer, you still need to perform the following steps:
supportuser A12v12+$1%4S
Important: Make sure that the “password.txt” file is really in the same folder as your Open VPN config file. In addition, with this variant your password is stored in plain text. If you are not completely comfortable with this, then you will have to give up the convenience of automatic login.
Save up to 50%80%70%70%70%70%70%70%70% on a Sophos Firewall of your choice.
XGS 107
30%40%30%30%30%30%30%30%30% OffXGS 116
40%70%40%40%40%40%40%40%40% OffXGS 126
50%70%50%50%50%50%50%50%50% OffXGS 136
50%70%50%50%50%50%50%50%50% OffXGS 2100
50%80%60%60%60%60%60%60%60% OffXGS 2300
50%80%70%70%70%70%70%70%70% OffXGS 3100
50%80%70%70%70%70%70%70%70% OffXGS 3300
20%70%50%50%50%50%50%50%50% OffXGS 4300
50%70%50%50%50%50%50%50%50% OffXGS 4500
50%70%50%50%50%50%50%50%50% OffXGS 5500
50%70%50%50%50%50%50%50%50% OffXGS 6500
50%70%50%50%50%50%50%50%50% Off