What Is OpenVPN?
OpenVPN is an open-source VPN protocol first released in 2001. For nearly two decades it was the gold standard for VPN security - Widely audited, highly configurable, and supported on virtually every platform. Today it remains a trusted fallback while WireGuard has become the speed-optimised alternative.
OpenVPN Technical Overview
| Property | Detail |
|---|---|
| Transport | UDP (default, faster) or TCP (more reliable, firewall-friendly) |
| Encryption | AES-256-GCM (recommended), ChaCha20-Poly1305 |
| Authentication | TLS 1.3, RSA/ECDSA certificates, optional HMAC firewall (tls-auth/tls-crypt) |
| Key exchange | TLS handshake with Perfect Forward Secrecy (DHE/ECDHE) |
| Codebase size | ~400,000 lines - Large but extensively audited |
| Ports | Commonly 1194 UDP; can run on TCP 443 to bypass firewalls |
| Platform support | Windows, macOS, Linux, iOS, Android, routers (DD-WRT, OpenWRT) |
| License | GPL v2 (open source) |
OpenVPN vs WireGuard - When to Use Each
| Criteria | OpenVPN | WireGuard |
|---|---|---|
| Speed | Moderate (userspace overhead) | Significantly faster (kernel-level) |
| Firewall bypass (TCP 443) | Excellent - Looks like HTTPS traffic | UDP only - Easier to block |
| Security audit history | Decades of independent audits | Newer but clean audit record |
| Mobile battery life | Higher CPU usage | Lower CPU usage |
| Configuration flexibility | Highly configurable (.ovpn config files) | Simpler, less configurable by design |
| Censorship-resistant networks | TCP 443 mode is hardest to block | Obfuscation wrappers needed |
| Legacy device support | Works on very old hardware/OS | Requires kernel 5.6+ or kernel module |
How to Choose Your Protocol
- Use WireGuard as your default - It is faster and simpler.
- Switch to OpenVPN TCP on port 443 if you are on a restricted network (hotel, workplace) that blocks common VPN ports - TCP 443 is nearly impossible to block without also breaking HTTPS.
- Use IKEv2 on mobile if your VPN provider does not offer WireGuard - IKEv2 handles network switches gracefully via MOBIKE.
For a full protocol comparison, see VPN Protocols Explained. For WireGuard-specific details, see What Is WireGuard?. Verify any protocol is working correctly with our VPN Leak Test.
Frequently Asked Questions
Is OpenVPN obsolete now that WireGuard exists?
No. It is slower and heavier, but its TCP mode on port 443 is very hard to distinguish from ordinary HTTPS traffic, which makes it the more reliable option on restrictive networks. It also has two decades of scrutiny behind it.
Should I use OpenVPN over TCP or UDP?
UDP by default — it is meaningfully faster. Switch to TCP only when UDP is blocked or unstable, since TCP-over-TCP causes retransmission stalls that hurt throughput.
What is an .ovpn file?
A plain-text configuration file holding the server address, protocol settings, and certificates for one connection. Most providers offer them for use in third-party clients or on routers that cannot run the provider's own app.
Does OpenVPN work on routers?
Yes, and this is one of its enduring advantages — OpenVPN support is far more widely available in consumer and open-source router firmware than WireGuard support, though that gap is closing.
How we evaluate VPNs: every provider on this site is judged on audited no-logs claims, leak-test results, protocol support, jurisdiction, and price transparency — never on commission. How we score every provider →
ⓘ Affiliate disclosure: Some links to VPN providers in these guides are affiliate links - We may earn a commission at no extra cost to you. This never affects rankings or evaluations.
Last updated: 2026-08-02
Sources & Further Reading
The technical claims on this page are drawn from the primary specifications and vendor documentation below.
- OpenVPN Protocol Documentation OpenVPN
- RFC 8446 — TLS 1.3 RFC Editor