Notes

VPN

A Virtual Private Network (VPN) creates an encrypted tunnel between client and server, enabling secure access to a remote network as if you were on-site. Organizations use VPNs to provide secure access to internal resources and to protect traffic from interception. Common Linux VPN solutions include OpenVPN, L2TP/IPsec, PPTP, SSTP, and SoftEther.

OpenVPN

OpenVPN is a widely used open-source VPN that supports encryption, tunneling, traffic shaping, and flexible routing.

Install OpenVPN

$ sudo apt install openvpn -y

Configuration

Server configuration typically lives in /etc/openvpn/server.conf.

Connect to a VPN

$ sudo openvpn --config internal.ovpn