Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install Tunnelblick, a free OpenVPN application for Mac OSX.

  2. Download the Rapid Access Cloud VPN configuration files. VPN access is configured per region:

    1. Calgary

    2. Edmonton

  3. Unzip the file locally and double-click the unzipped file vpn-yyc.tblk. This will automatically run Tunnelblick and add the VPN configuration.

  4. In the top right corner of your screen, you will see the Tunnelblick icon. Click on it and choose "Connect vpn-yyc".

  5. When prompted, enter your RAC username and password. To check whether the VPN is working, open a terminal and attempt to ping a private IP address associated with an instance. You can also try to ping the internal VPN address: ping 10.254.0.1.

...

  1.  

  2. See the section Verifying Connectivity to confirm the VPN connection is working.


Note

If you see the following message, you can safely ignore it:

This computer's apparent public IP address was not different after connecting to vpn. This may mean that your VPN is not configured correctly.

The reason for this message is because the Rapid Access Cloud VPN is not routing all of your traffic through the VPN. Only traffic destined for the Rapid Access Cloud's IP space.


Windows

  1. Download and Install the community version of OpenVPN from openvpn.net.

  2. Download the Rapid Access Cloud VPN configuration files. VPN access is configured per region:

    1. Calgary

    2. Edmonton

  3. Unzip then copy the contents to c:\Program Files\OpenVPN\config.

  4. On the Windows Desktop, right-click on the OpenVPN GUI shortcut, select Properties and then the Compatibility tab. Check the box to "Run this program as an administrator".

  5. Double-click on the OpenVPN GUI shortcut and an OpenVPN icon should now appear on your taskbar.

  6. Right-click on the OpenVPN taskbar icon and choose "connect".

  7. When prompted, enter your Rapid Access Cloud username and password. To check whether the VPN is working, open a terminal and attempt to ping a private IP address associated with an instance. You can also try to ping the internal VPN address: ping 10.254.0.1. 

  8. See the section Verifying Connectivity to confirm the VPN connection is working.

Ubuntu Linux

  1. 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


  2. Download the Rapid Access Cloud VPN configuration files. VPN access is configured per region:

    1. Calgary

    2. Edmonton 

  3. 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/


  4. 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.

  5. To check whether the VPN is working, open a terminal and attempt to ping a private IP address associated with an instance. You can also try to ping the internal VPN address: ping 10See the section Verifying Connectivity to confirm the VPN connection is working.

  6. To disconnect from the VPN: 

    Code Block
    sudo systemctl stop openvpn@client


Verifying Connectivity

To verify you have successfully connected to the VPN, please do the following

Ping the VPN Gateway

Pinging the VPN Gateway will confirm you have successfully connected and can communicate with the VPN server. Open a command-prompt and run the following:


Code Block
ping 10.254.0.1


Ping Your Instance

Each of your instances has a private IPv4 address:

  • For the Calgary region, these IP address look like 10.

...

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
  • 1.x.y
  • For Edmonton, these IP addresses look like 10.2.x.y.

Open a command-prompt and run the following:

Code Block
ping 10.1.x.y

where x.y is the rest of your instance's IP address. For example:

Code Block
ping 10.1.11.44


Note

For the ping to work, make sure your instance's Security Group allows ICMP traffic.