In this tutorial, you will learn how to establish secure connections between multiple remote locations using a VPN tunnel. All can be easily configured on the Jotelulu platform.
How to create a site-to-site tunnel?
Before you begin
To successfully complete this tutorial, you will need:
- To have an active Servers subscription. To find out how to deploy a server, have a look at the tutorial entitled: How to Deploy a New Server on Jotelulu.
- Understand that there are different potential scenarios when creating a site-to-site VPN using a VPC on Jotelulu (end1), depending on the device on the other end (end2):
- VPC1 (end1) and VPC2 (end2), both on the Jotelulu platform
- VPC1 on Jotelulu (end1) and VPC2 with another cloud provider (end2)
- VPC1 on Jotelulu (end1) and a router (end2)
- It is important to remember that you will need to perform this configuration process twice as both ends of the VPN are on Jotelulu. This tutorial will explain how to configure a tunnel from end 1 (VPC1) to end 2 (VPC2). You will then need to repeat the process the other way around. If end 2 is with another cloud provider or is a router in a different location, you will not be able to configure these via the Jotelulu platform.
Step 1. Open your Servers subscription
On the main dashboard, click on the top of the Servers card (1).
Step 1. Open the Servers subscription page
Step 2. Open the VPN section and start creating a tunnel
(End 1 to End 2)
Step 2. Open the VPN section and click Create Site-to-Site Tunnel
Step 3. Assign a name to the VPN and remote network configuration
(End 1 to End 2)
Step 3. Name the VPN and configure the remote network
Step 4. Configure the VPN tunnel
(End 1 a End 2)
Step 4. Configure the VPN tunnel
Step 5. Configure the Local Network
(End 1 a End 2)
Step 5. Configure the local network
Step 5. Record and save the IPSec key
Step 6. New VPN and creation of the tunnel
(End 2 a End 1)
Step 6. Create a new site-to-site VPN and carry out the configuration process for the opposite end
Step 7. Assign a name to the other VPN and remote network configuration
(End 2 to End 1)
Step 7. Name the VPN and configure the remote network
Step 8. Configure the VPN tunnel
(End 2 to End 1)
Step 8. Configure the VPN tunnel
Step 9. Configure the Local Network
(End 2 to End 1)
Step 9. Configure the local networkZ
Step 9. Site-to-site VPN tunnel created successfully
Summary
Creating a site-to-site VPN tunnel is a simple process and is an effective way of establishing a secure connection between multiple remote locations across the internet. In this tutorial, you have learnt how to establish a VPN connection between two VPCs hosted by Jotelulu.
Glossary:
- VPC o Virtual Private Cloud. Set of shared IT resources assigned to a public cloud environment, that provides a certain level of isolation between the different organisations using said resources. A VPC can act as a container for multiple isolated networks that can communicate with each other through a virtual router.
- Network TIER: Each tier or subnet acts as a separate network with its own VLAN, where you can locate groups of resources, such as virtual machines. These tiers are segmented through VLAN.
- IPsec. Internet Protocol Security. A set of protocols whose function is to secure communications by authenticating and/or encrypting each IP packet in a data flow. It also makes it possible to include protocols for setting keys.