TechnologyVPN software

OpenVPN

Open-source VPN software and protocol that uses TLS to build encrypted tunnels for remote access and site-to-site networking.

OpenVPN is a virtual private network system that creates encrypted tunnels between computers or networks, used for remote access to company networks, linking offices and protecting traffic on untrusted connections. It runs in user space rather than in the kernel and can operate over UDP or TCP on any port, which helps it pass through restrictive firewalls. The community edition is free software under the GNU General Public License version 2, while OpenVPN Inc. sells commercial server and cloud products built around it.

James Yonan released OpenVPN in 2001. Rather than adopting IPsec, he built it on the OpenSSL library, using TLS for authentication and key exchange with certificates or pre-shared keys, then encrypting tunnel traffic with negotiated ciphers. Its flexibility, cross-platform clients and compatibility with ordinary network infrastructure made it the default open-source VPN for many years, used by routers, firewall platforms and commercial VPN services alike. Independent audits in 2017 examined its code and found issues that were fixed.

OpenVPN's configurability is both a strength and a burden: certificate management and option choices require care, and its larger codebase is harder to audit than later designs such as WireGuard, which many users have adopted for speed and simplicity. It remains widely deployed and is supported by firewall distributions such as OPNsense. As with any VPN, it protects traffic in transit but shifts trust to whoever operates the server.

Key points

  • OpenVPN uses TLS for authentication and key exchange, built on the OpenSSL library.
  • It can run over UDP or TCP on any port, which helps it traverse firewalls.
  • James Yonan first released OpenVPN in 2001.
  • WireGuard has become a simpler alternative for many deployments.

In their own words

Free and open-source server/client software which uses SSL/TLS to create secure, encrypted VPN tunnels for remote access or site-to-site networking.

From openvpn.net (opens in a new tab)

Related entries

Glossary term

Virtual Private Network

OPSECCybersecurity

Technology that creates an encrypted tunnel between a device and another network, protecting traffic on untrusted links and connecting remote users securely.

Technology

WireGuard

OPSECDevOpsFOSS

Lightweight VPN protocol and software with a small codebase and a fixed set of cryptographic primitives, built into the Linux kernel since 2020.

Technology

OpenSSL

CybersecurityFOSS

Widely used open-source cryptography library and toolkit that implements the TLS protocol securing much of the internet's encrypted traffic.

Glossary term

Transport Layer Security

CybersecurityProgramming

Cryptographic protocol that encrypts and authenticates data sent between applications over a network, most visibly securing web traffic as HTTPS.

Technology

OPNsense

FOSSOPSECCybersecurity

Open-source firewall and routing platform based on FreeBSD, forked from pfSense in 2015 and managed through a web interface.

Glossary term

Encryption

CybersecurityOPSECDevOps

The process of transforming readable data into ciphertext so that only parties holding the correct key can recover and understand it.

Glossary term

Public-Key Cryptography

CybersecurityBlockchain

Cryptographic system that uses pairs of linked keys, one public and one private, to enable encryption and digital signatures between strangers.

Glossary term

Firewall

CybersecurityOPSEC

Security control that monitors network traffic and allows or blocks connections according to a set of rules, separating trusted and untrusted networks.

Featured in guides