The guide is based on debian13-minimal, but it should work on debian-13-xfce or debian-13.
qvm-template install debian-13-minimalqvm-clone debian-13-minimal debian-13-minimal-openvpn> ℹ️ 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.
qvm-run -u root debian-13-minimal-openvpn xtermapt install -y qubes-core-agent-networking qubes-core-agent-network-manager network-manager-openvpn-gnomeadduser user netdev> ℹ️ The following steps will create an AppVM qube that will connect to the OpenVPN server and be used as a NetVM for other qubes.
qvm-create --property provides_network=true --template debian-13-minimal-openvpn --label red --property maxmem=512 sys-vpn-openvpnqvm-service --enable sys-vpn-openvpn network-manager trueMove 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.
qvm-run -u root sys-vpn-openvpn xterm/home/user/QubesIncoming/...Fill the values for the fields User name and Password
Click on "Save"