...
Install and configure the openvpn package for your distribution. For example, on Ubuntu 16.04, run the following commands:
Code Block sudo apt-get update sudo apt-get install openvpn unzip
Download the Rapid Access Cloud VPN configuration files. VPN access is configured per region:
Unzip the file and move the contents to /etc/openvpn/. For example:
Code Block wget http://vpn-yyc.cloud.cybera.ca/vpn-yyc-ovpn.zip unzip vpn-yyc-ovpn.zip sudo mv ca.crt client.conf client.crt client.key /etc/openvpn/
Start the OpenVPN client service:
Code Block sudo systemctl start openvpn@client Enter Auth Username: Enter Auth Password:
Enter your Rapid Access Cloud username/email address and password to authenticate.
To check whether the VPN is working, open a terminal and attempt to ping your private IP address. For example, “
ping 10.0.0.73
”.Note Make sure that the security group for the instance has rules to allow ingress ICMP.
To disconnect from the VPN:
Code Block sudo systemctl stop openvpn@client