Tutorial: Setting Up a VPN Connection

The goal of this tutorial is to set up a VPN connection between your corporate network and one of your Nets in the OUTSCALE Cloud.

Create the Required Resources

Before you begin: Create a Net to connect to your corporate network. For more information, see Creating a Net.

  1. Create a client gateway. For more information, see Creating a Client Gateway.

  2. Create a virtual gateway. For more information, see Creating a Virtual Gateway.

  3. Link the virtual gateway to the Net. For more information, see Linking a Virtual Gateway.

  4. Create a VPN connection. For more information, see Creating a VPN Connection.

    Remember to download the XML file returned after VPN creation. This file contains example configuration information that is useful for configuring the VPN tunnel, as mentioned in the Configure the VPN Tunnel section below.

Configure the Resources to Allow Traffic

Allow Access

  1. In the firewall of your corporate network:

    • Open ports 500 and 4500 for UDP protocol.

    • Add a route pointing to the Net.

  2. In the Net, add rules to the security groups associated with the virtual machines (VMs) allowing outbound and inbound flows to and from your corporate network. For more information, see Adding Rules to a Security Group.

Configure the Routing

  1. If you want routes to be automatically created, enable route propagation in the Net to the route table. For more information, see Enabling Route Propagation.

  2. If you do not enable route propagation, create a route in the route table, using:

    • The CIDR of your corporate network as destination

    • The ID of the virtual gateway as target

    For more information, see Creating a Route.

  3. (static routing only) Create a route associated with the VPN connection, using:

    • The CIDR of your corporate network as destination

    For more information, see Creating a VPN Connection Route.

    With dynamic routing and a Border Gateway Protocol (BGP), these routes are automatically created and updated. For more information, see About Routing Configuration for VPN Connections.

Configure the VPN Tunnel

After you have created your resources, you need to configure the VPN tunnel from your side of the connection. For more information, see VPN Configuration Reference.

Related Pages