openvpn.is
English
简体中文繁體中文EnglishРусскийفارسی

The gate reads papers, not faces

Certificates are the travel papers, the .ovpn file is the route, and the guard only lets in papers with the right stamp. Here are the official downloads for every system, guides from building a gate to issuing papers, and a tool that reads error logs.

Go to downloadsSee how to build your own gate

UDP

1194The fast oneThe default. Use it wherever UDP gets through

TCP

443The one that gets throughSame port as web pages, often open on strict networks

Which gate is yours

From building the gate to issuing papers

  1. Build your own gateBuild an OpenVPN 2.7 server from scratch: CA and certificates with easy-rsa, server.conf, opening the port, forwarding, and the first .ovpn file.
  2. Import a profileWhat to do with an .ovpn: understand what is inside, import it on Windows, Mac, Android, iOS and Linux, save the password, and fix missing certificates.
  3. On phonesOpenVPN on Android and iPhone: a profile just for the phone, safe ways to send it, staying connected when networks change, saving battery.
  4. Into the officeReach an office or home network with OpenVPN: push route, forwarding on the server, the return route or NAT, Windows firewall, and clashing networks.
  5. All traffic through the gateSend all traffic through OpenVPN: redirect-gateway def1, forwarding and NAT, pushing DNS, DNS leaks on Windows, what to do with IPv6, and checking it.
  6. Issue and revoke papersManage OpenVPN certificates with easy-rsa: issue one for a new device, see what expires, revoke a lost one, refresh the CRL, and plan for the CA.

Two different things

ThingWhat it isWhere it comes from
Client softwareOpenVPN on your phone or computerDownloads
.ovpn profileRoute, certificates and keysYour company, a provider, or a server you build

Software without a profile connects to nothing. If someone gives you an .ovpn, import it and go.

Where the papers come from

Issuer (CA)ca.crtServerserver.crtLaptoplaptop.crtPhonephone.crtOne paper per device; a lost one is revoked alone
There is one issuer, and it stamps everybody's papers

In the handshake each side looks at the other's papers, and lets it in only if the same issuer stamped both. That makes the CA's private key the most important file of all. Keep it off the server.

Asked at the gate

Does OpenVPN come with free servers?

The software is free and brings no servers. The profile decides where you connect.

AdLuoboyunIf you only want a line that is ready to use: 1 GB of trial traffic on sign-up, valid 24 hours, through Clash / Mihomo.See a ready one
Community edition or OpenVPN Connect?

If your company or provider names one, use that. Otherwise the community edition on a computer and Connect on a phone. Details in this post.

Is something this old still safe?

The protocol keeps being updated; 2.7 came out in February 2026. The real risk is old profiles. Run yours through the profile check.

Three tools in the gatehouse

  1. Make a profileGenerate OpenVPN server and client configuration online: UDP, TCP or both, network, routes and DNS in one go, with the easy-rsa commands.
  2. Check a profilePaste an .ovpn to check it: BF-CBC, comp-lzo, ns-cert-type, missing remote-cert-tls, external files, scripts. Local, nothing is uploaded.
  3. Read a logPaste an OpenVPN log and twenty common errors are recognised, with what they mean and where to look first. Analysed in the browser only.

Stories from the gate

See all ten

Signposts in the city

Signposts: OpenVPN, OpenVPN guide, OpenVPN client, ovpn, OpenVPN setup