Solution Based on Experience from the Field
This article provides a solution that has not been approved by the IGEL Research and Development department. Therefore, official support cannot be provided by IGEL. Where applicable, test the solution before deploying it to a productive environment.
This article describes a basic solution for getting the built-in OpenVPN client running with a preconfigured configuration file. This is an alternative to using the Setup for configuration.
This article is valid for the following environment:
- IGEL OS 10 or higher
- OpenVPN server
Setting up an OpenVPN Connection with a Preconfigured Configuration File
- In the UMS Console, open the context menu on Files and select New File.
- Select your
.ovpnfile in the file system.
- In the File target section, under Devices file location, enter "/wfs/".
- Click Ok.
The file is uploaded to the UMS.
- Assign the file object to your device by clicking the "+" symbol in the Assigned objects area (upper right).
- Create a profile with a suitable name, e. g. "OpenVPN Connection".
- In the profile, go to System > Firmware Customization > Custom Commands > Network.
In the Final network command field, enter the following code, replacing
example.ovpnwith the correct filename:
- Click Save to save the profile.
- Assign the profile to your device by clicking the "+" symbol in the Assigned objects area.
- Reboot the device.
After reboot, you should see a login window for OpenVPN.
- Enter your OpenVPN credentials.
If the login was successful, a Network connecting popup appears briefly. No other indicator is shown. You can disconnect only by rebooting the device.
If the login has failed, the login window reappears.
Removing the OpenVPN Connection
To remove the OpenVPN connection from the settings, unassign the profile from the device and reboot it.