Connecting a server to open vpn

I am trying to connect a rocky server to open vpn but every search only shows posts on how to start a server. I have a express subscription and want to put that vpn on the server. I am trying to use the command line because it is a cloud server. please help.

Do you have a connection file from the vpn server you want to connect to? If yes you just run openvpn the-vnp-config-file.

The openvpn package is on EPEL though, you have to enable this repository before installing it.

I am doing this in docker using Gluetun. It can be done for the entire box also though…depends on your vpn provider and their config files for setup. openvpn etc

  1. Download the openvpn file from expressvpn (tcp or udp - read up on which to choose)
  2. install openvpn via dnf `sudo dnf install openvpn`
  3. Connect using that file `sudo openvpn /path/to/file/you/downloaded.ovpn`

I dont particularly like spoonfeeding like this but it’s very very straightforward and basic.