The guide is based on debian13-minimal, but it should work on debian-13-xfce or debian-13.

Prepare the template

> ℹ️ The following steps are required to install packages in the new template, as it's a minimal template, you can't use sudo from a regular terminal.

> ℹ️ The following steps will create an AppVM qube that will connect to the OpenVPN server and be used as a NetVM for other qubes.

Copy the OpenVPN configuration file to sys-vpn-openvpn

Move the OpenVPN configuration (unzip the file before if needed, the appvm does not have the tools to unzip) to the qube sys-vpn-openvpn you just created.

This can be done by right-clicking on the downloaded file in the file explorer of the Qube that downloaded the configuration file, and choose "Move to other qube..." menu entry in the contextual menu.

Import the configuration file in sys-vpn-openvpn

vpn|420x141

Autoconnect

> ℹ️ For some reasons that still need to be understood, network manager does not offer to auto connect the VPN connection on boot. Trying to use `autoconnect.secondaries" on eth0 did not work either.