Note: If you cannot find a topic, go to docs.rightscale.com where all RightScale documentation will soon be located. Also, feel free to Chat with us!
Home > Partners > Cohesive FT > Set up Clients to join the VPN

Set up Clients to join the VPN

Objective

In this tutorial you will set up clients to join an existing VPN.  Simply add the "VPN Cubed Client Connect" RightScript to any servers or ServerTemplate that you want to join the VPN.  

Prerequisites

The following are prerequisites for completing this tutorial:

Steps

Step 1: Import the "VPN Toolbox" ServerTemplate
Step 2: Add the "VPN Cubed Client Connect" RightScripts
Step 3: Configure the Inputs and Run the Script
Step 4: Verify that Clients joined the VPN

Step 1:  Import the "VPN Toolbox" ServerTemplate

The first step is to import the "VPN Toolbox" ServerTemplate into your 'Local' view so that you'll have access to the RightScript that you'll need to add to your client server.  Go to Design -> MultiCloud Marketplace -> ServerTemplates.  Import the "VPN Toolbox" ServerTemplate.

Step 2: Add the "VPN Cubed Client Connect" RightScript

Any server can easily be configured to join the VPN as a client by adding the "VPN Cubed Client Connect" RightScript to the ServerTemplate as an operational script.  Select a ServerTemplate and add the "VPN Cubed Client Connect" script.  ("RightScale Services" will be listed as the script's publisher.)

Step 3: Configure the Inputs and Run the Script

Go to the Inputs tab of the ServerTemplate, click Edit, and provide values for the following new inputs:

VPN3_CLIENT_PACK Example
text: 172_31_1_1.tar.gz

You can view the client packs on the VPN Cubed Manager admin pages under "Client Packs." This will be the virtual IP of the client. Be sure to keep track of which IP's you are distributing to which servers so you don't accidentally allocate out the same IP address to two different servers.

 

VPN3_CLIENT_PASSWORD Example
text: d48d760987e79b86f3c280193288324b3e4b8788

Be sure to put the password generated by YOUR vpn manager. You can view the client password on the VPN Cubed Manager admin pages under "Runtime Status" under "Client download username/password." Note that this is displayed as "username/password."  Be sure to only include the password portion, after the forward slash.

screen-ClientPassword-v1.png

 

VPN3_CLIENT_USERNAME Example
text: clientpack

This will almost always be "clientpack" and is found along with the VPN3_CLIENT_PASSWORD above.

 

VPN3_MGR_IP Example
text: https://ec2-174-129-111-169.compute-1.amazonaws.com

You can set this to an ENV variable or to the text of the VPN3_MGR_IP. You can also use the public hostname (the easiest).

For example you can set it to ENV -> EC2_PUBLIC_HOSTNAME -> of -> VPN Cubed Manager (the nickname of your vpn cubed manager).

Next, run the script on the client server.

Step 4: Verify that clients joined the VPN

You can SSH into the client server and then ping the following address: 172.31.0.1

You will also be able to view the clients in the Runtime window.

You must to post a comment.
Last modified
23:39, 16 May 2013

Tags

Classifications

This page has no classifications.

Announcements

None


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.