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

HomeGuidesImport a profile

Import a profile

What 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.

Take the profile file and import it into the client
Take the profile file and import it into the client Jacek, CC BY-SA 4.0

Look inside first

An .ovpn is text. Notepad opens it.

LineMeaning
remote vpn.example.org 1194Where to connect, on which port
proto udpUDP or TCP
The <ca> blockThe issuer's certificate
<cert> and <key>Your papers and key
auth-user-passA user name and password too
redirect-gatewayAll traffic goes through

Import on each system

SystemHow
Windows, communityRight-click the tray icon, import file
Connect on Windows or MacDrag it into the window
TunnelblickDrag it onto the menu bar icon
AndroidTap + in the app and pick the file
iPhoneTap the file and open with OpenVPN
LinuxNetwork settings, import from file

Saving the password

The first connection (drawing)

In the community edition tick Save password. With one-time codes, follow your company's rule; sometimes the six digits go straight after the password.

Several files

If you got client.ovpn, ca.crt, client.crt and client.key, put all four in one folder and import. For phones make one file: replace a line like ca ca.crt by <ca>, the contents, and </ca>.

Imported, but it fails on connecting?

Paste the log into the log reader.

One file for two devices?

It depends on the server. By default the second pushes out the first. One each is safest.

Walk onOn phones

Nearby gates

Signposts: import ovpn file, how to open ovpn file, OpenVPN import profile