talira

Open source VPN daemon

open sourceGPL-2.0-only WITH openvpn-openssl-exceptionself-hostablefree

OpenVPN is an open source VPN daemon that builds encrypted tunnels over TLS, for remote users connecting to a server or for linking sites, over UDP or TCP. The OpenVPN Community project, run by OpenVPN Inc., releases the openvpn program for Linux, the BSDs, macOS and Windows, where the MSI installers bundle the OpenVPN GUI and a system service. It authenticates with certificates or certificate fingerprints, pushes routes and DNS settings to clients with split DNS, and takes plugins and scripts for authentication, with a management interface for monitoring and control. Since 2.6 it can hand the data channel to a kernel module (ovpn, in Linux since 6.16, and ovpn-dco-win on Windows), and 2.7 lets one server listen on several sockets, UDP and TCP at once. It's GPLv2 with an exception for linking OpenSSL; OpenVPN Inc. also sells Access Server and CloudConnexa as separate commercial products.

Ways to install

Package managers

Problems it solves

  • set up my own VPN server so remote staff can reach the office network
  • a VPN that still connects through firewalls that only allow outbound TCP
  • connect two sites with a VPN when one of them has no fixed public IP
  • authenticate VPN users against LDAP or RADIUS with a plugin or script
  • push split-DNS settings to VPN clients so only internal domains resolve through the tunnel
  • a self-hosted VPN whose Windows client our users install from an MSI
  • speed up a Linux VPN server by moving packet encryption into the kernel
  • run one VPN server that accepts both UDP and TCP clients
  • watch connected VPN clients and disconnect one from a script
  • a TLS-based VPN without running a full certificate authority, using certificate fingerprints

Features

  • TLS-based VPN over UDP or TCP
  • data channel offload to the ovpn kernel module (Linux 6.16+) and ovpn-dco-win
  • multiple listening sockets per server (2.7)
  • pushed DNS settings with split DNS on Linux, BSD, macOS and Windows (NRPT)
  • certificate and --peer-fingerprint authentication
  • plugin interface and scripts for authentication and events
  • management interface for monitoring and control
  • OpenSSL, Mbed TLS, wolfSSL and AWS-LC crypto backends
  • Windows MSI installers with OpenVPN GUI and an interactive service
  • block-local enforced with Windows Filtering Platform rules

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what OpenVPN does.

  1. OpenVPN Access Server Fast and Easy Zero-Trust VPN Fully in Your Control
  2. strongSwan Open-source, modular and portable IPsec-based VPN solution
  3. Pritunl Enterprise Distributed OpenVPN WireGuard and IPsec Server
  4. WireGuard Fast, modern, secure VPN tunnel
  5. Libreswan Free software implementation of the IPsec VPN protocol and the Internet Key Exchange (IKE)
  6. Tailscale Private WireGuard networks made easy

Compare OpenVPN with the top 3