Install ExpressVPN on Container in Proxmox 7

Obednal1

New Member
Feb 14, 2023
21
4
3
Hi all, writing this short guide documenting the steps I took to install Express VPN on my proxmox container.

USE CASE: I have just installed qBittorrent LXC container to replace my Atlas Windows VM running ExpressVPN and qBittorrent applications, as containers use less CPU and RAM than VM's. I quickly discovered I can't use qBittorrent container when not connected to a VPN to download files.

Installation of qBittorrent Container
I use tteck's kind library for simply installing VMs/Containers.
https://tteck.github.io/Proxmox/
Run through the setup wizard presented in the PVE shell
Once completed, continue to the next step with the CONTAINER TURNED OFF

Installing ExpressVPN
I use Express VPN mainly for its lightway protocol, however, it seems to only be accessible via the ExpressVPN application which I don't believe can be run on the same container as qBittorrent. Instead we're going to be using the OpenVPN protocol which is also supported for manual installs of ExpressVPN.

To install OpenVPN in the container, I followed this guide
MAKE SURE YOUR CONTAINER IS TURNED OFF FIRST
For apt install openvpn git this didn't work for me and instead I had to type apt-get install openvpn git.
Unfortunately, I ran into an error The system does not have the TUN device available
To fix this, I had to change lxc.cgroup.devices..... to lxc.cgroup2.devices in the container .conf file, once changed I started up the container and ran through the steps again in the guide, this worked for me and I was able to run through the setup wizard for OpenVPN

I then followed this guide by ExpressVPN themselves which seemed to work for me
 
  • Like
Reactions: enigmacarpc

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!