What Is WireGuard?
WireGuard is the fastest VPN protocol available. Learn why it has become the gold standard for modern VPN connections.
In this guide
WireGuard Overview
WireGuard is a modern VPN protocol designed for simplicity and speed. With only 4,000 lines of code (compared to OpenVPN 70,000+), it has a minimal attack surface and is easy to audit for security vulnerabilities.
Performance Advantages
WireGuard operates at the kernel level, eliminating context switches that slow down userspace protocols. It uses state-of-the-art cryptography: ChaCha20 for encryption, Poly1305 for authentication, Curve25519 for key exchange, and BLAKE2s for hashing.
How CasperVPN Uses WireGuard
CasperVPN uses WireGuard as the default protocol on all platforms. We have added features on top of the base protocol including automatic key rotation, multi-hop routing, and our proprietary server selection algorithm for optimal performance.
Frequently Asked Questions
Is WireGuard more secure than OpenVPN?
WireGuard uses more modern cryptographic primitives and has a much smaller codebase, making it easier to audit. Both are considered highly secure, but WireGuard has the edge in modern crypto design.