# Connect To VPN * get the latest version of installed packages and refresh the repo cache ``` sudo apt update ``` * install VPN client directly from the official repository ``` sudo apt install openvpn --no-install-recommends ``` * install openresolv (a resolvconf implementation, i.e. a resolv.conf management framework) ``` sudo apt install openresolv --no-install-recommends ``` * append the following configuration to the OpenVPN client configuration file ``` script-security 2 up /etc/openvpn/update-resolv-conf down /etc/openvpn/update-resolv-conf ``` * call client to connect to VPN ``` sudo openvpn --config --ca --cert