VPN
Setup virtual private network (VPN)
Last updated
Setup virtual private network (VPN)
Last updated
A secure network that just works. Zero config VPN. Installs on any device in minutes, manages firewall rules for you, and works from anywhere. Setup and configuration has been extremely easy compared to OpenVPN.
OpenVPN is a virtual private network (VPN) system that implements techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It implements both client and server applications.
The following diagram shows a typical setup for a SAAS environment that is using OpenVPN. All critical systems run in private subnets. Only the OpenVPN bastion host is accessible from the public Internet. Thats how SRE / OPS / DEVS can connect to the environment using secure VPN clients (like or )
Setup VPC
Setup Public Subnet
used for anything that needs to be accessible from the public internet, i.e. a OpenVPN bastion host, loadbalancer, ...
Setup Private Subnet
thats where critical systems get installed, i.e. datastores, kubernetes cluster, ...
Setup NAT Gateway
NAT Gateway will be used by all hosts that need to talk to the public internet
Setup OpenVPN Bastion host
This server is only accessible from the public Internet via port 1194
For additional level of security OpenVPN can be configured with 2-Factor-Authentication
Users installs DUO App on Mobile Phone
Once a user has authenticated using user/password, openvpn makes a request to duo.com to push a message to the Mobile Phone for the user. This process can be seen in the second diagram
Open VPN connection initiated
Primary authentication
Open VPN connection established to Duo Security over TCP port 443
Secondary authentication via Duo Security’s service
Open VPN receives authentication response
Open VPN session logged in
https://www.golinuxcloud.com/openssl-create-certificate-chain-linux/
Source: