How to Set Up VPN - Complete Beginner’s Guide

Question: How do I set up VPN access?

Answer: Multiple options available


Step 1: Install

apt install wireguard

Step 2: Configure

# Generate keys
wg genkey | tee private.key
wg pubkey < private.key
 
# Edit config
nano /etc/wireguard/wg0.conf

Option 2: OpenVPN

Install

apt install openvpn easy-rsa

Keywords

vpn how-to beginner wireguard openvpn


Back to Proxmox VE