All Projects → dcasati → cross-cloud-vpn

dcasati / cross-cloud-vpn

Licence: BSD-2-Clause license
Plumbing solutions to connect clouds

Programming Languages

shell
77523 projects

Cross Cloud VPN: Site-to-Site IKEv2 based on OpenBSD

This is a guide on how to securely connect two public clouds,AWS and Azure. The solution entails the use of an IPsec IKEv2 VPN running on OpenBSD.

Design Overview

End to End topology

Audience

The target audience for this tutorial is anyone looking for a solution on how to plumb together two cloud environments, such as Azure and AWS. This is a step-by-step approach with many details on how things get connected together.

Solution Details

This guide will walk you through the process of connecting VMs running on AWS and Azure. For this exercise, the following considerations were taken:

  • OpenBSD 6.1 amd64
  • Azure CLI 2.0
  • Different VNets and VPC CIDR networks. They must be different and non overlapping.

NOTE: Since OpenBSD is not readily available as an image ready for both clouds, we will need to craft an image from scratch. Although this can initially be an issue, the process is streamlined and this has an added benefit of giving you the full control of the image. Until a this image is available in the Marketplace (Azure and AWS) this is likely your safest bet right now.

  • To generate your OpenBSD image, you can follow the these instructions:
    • For Azure, the instructions are covered here.
    • For AWS check this one.

See the Before You Begin for details on network planning.

Sections

References:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].