Last Updated: November 21, 2025
VPN Setup
Virtual private network configuration
VPN Types
| Item | Description |
|---|---|
OpenVPN
|
Open-source, flexible |
WireGuard
|
Modern, fast, simple |
IPSec
|
Industry standard |
L2TP
|
Layer 2 protocol |
PPTP
|
Legacy, avoid |
SSL VPN
|
Browser-based |
OpenVPN Basics
| Item | Description |
|---|---|
openvpn --config client.ovpn
|
Connect to VPN |
Easy-RSA
|
Certificate management |
UDP vs TCP
|
UDP faster, TCP more reliable |
tun vs tap
|
tun for routing, tap for bridging |
Best Practices
- Use WireGuard for simplicity and speed
- Enable kill switch to prevent leaks
- Use strong encryption (AES-256)
- Keep VPN software updated
💡 Pro Tips
Quick Reference
WireGuard is the future of VPN