/var/logmarcus chiu

/var/log

❯

Computer

❯

Computer Networks

❯

Computer Network/Networking Layers - Open Systems Interconnection (OSI) Model

❯

? - Mixed/Other Layers

❯

Virtual Private Network (VPN)

❯

VPN - Comparisons

OpenVPN vs WireGuard

Created on Aug 28, 2025

WireGuard
  • ~4,000 lines of code
  • built directly into the Linux kernel
  • modern cryptography only (ChaCha20, Curve25519, Poly1305, etc.)
OpenVPN
  • ~100,000+ lines of code
  • runs in user space (slower than in-kernel implementations)
  • flexible crypto (AES, RSA, etc.), but complexity adds overhead