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. |
-
Create a client gateway. For more information, see Creating a Client Gateway.
-
Create a virtual gateway. For more information, see Creating a Virtual Gateway.
-
Link the virtual gateway to the Net. For more information, see Linking a Virtual Gateway.
-
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
-
In the firewall of your corporate network:
-
Open ports 500 and 4500 for UDP protocol.
-
Add a route pointing to the Net.
-
-
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
-
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.
-
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.
-
-
(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