First you need the openvpn package: sudo apt-get install openvpn Then you can connect like this: sudo openvpn --config /path/to/config.ovpn