Skip to content

nehalineogi/openvpn-aks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This documentation is a reference architecture for a multi-tenant application where an instance of OpenVPN in each Kubernetes namespace is needed to connect to each facility's store.

Architecture diagram

Using Docker Host

This diagram shows running OpenVPN inside a Docker container using a single VM inside Azure with a Public IP.

OpenVPN and Docker

Kubernetes Deployment

This diagram shows running OpenVPN instance per Kubernetes namespace on an AKS cluster.

OpenVPN and AKS

Design Requirements

A multi-tenant Kubernetes cluster with OpenVPN container deployed per namespace with remote access to corresponding on-premises stores. Each namespace must be isolated from others.

Prerequisites

  1. Familiarity with Docker and Kubernetes networking
  2. Linux VM in Azure with Public IP as a Docker Host
  3. AKS Cluster in Azure with Calico Network Policy
  4. Docker Desktop Running Docker + Kubernetes and WSL(This is optional if you are using #3 and #4. This option can be use for quick testing)

Project tasks breakdown

Note: Steps 1-6 involves manual steps to prove out end-to-end network connectivity for this POC design. Starting task#6 we will introduce automation.

  1. Run Openvpn Access Server(openvpn-as) container on a docker host
  2. Configure and test end-to-end connectivity with Openvpn Client
  3. Build docker-compose.yaml file
  4. Generate k8s manifest files using kompose
  5. Run the container in AKS
  6. Test outbound access from AKS pod -> OpenVPN Client for connections initiated from AKS side
  7. Configure AKS pod as an OpenVPN client
  8. Build a secure custom image for OpenVPN server (not Access Server)
  9. Build automation and devops practice
  10. Secure management access
  11. Kubernetes namespace security with Azure Policy

Contributors

Thank you Tommy Falgout for the contributions

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published