Guides › Settings

VPN connections

Connect to your office or VPN provider with WireGuard, OpenVPN or IKEv2, and what each one can and cannot do.

A VPN (virtual private network) sends your traffic through a locked tunnel to another network, such as your office. Sovereign OS can connect to three kinds of VPN server:

KindWhat you get from the VPN's administrator
WireGuarda .conf file, or a server, its key and your addresses
OpenVPNa .ovpn file, and sometimes a user name and password
IKEv2a server name, and a user name and password or a certificate file

All of them are in Settings > Network & internet > VPN.

Import a .conf or .ovpn file

  1. Go to Settings > Network & internet > VPN.
  2. If the file is in your Downloads folder, it is listed under Import a configuration file. Click Import next to it.
  3. Otherwise, type the full path with its drive letter in the File box, like D:\office.ovpn, and click Import.
  4. You see "Added" and the name. The connection takes the file's name.
  5. If the server needs a user name and password, click the connection to open it, type them in User name and Password, and click Save.
  6. Click Connect.

An .ovpn file often names other files, such as ca.crt or client.key. Keep them in the same folder as the .ovpn file when you import it. They are copied into the connection, so you can delete them afterwards.

Add an IKEv2 connection

IKEv2 is the kind many company VPNs use, and the one built into most phones.

  1. On the VPN page, click Add VPN next to Add an IKEv2 connection.
  2. Type a Connection name and the Server name or address.
  3. If your administrator gave you a different name for the server's certificate, type it in Server's identity. Otherwise leave it empty.
  4. In Sign in with, pick User name and password and type them, or pick Certificate and type the paths of your Certificate file and Key file, like D:\vpn\me.crt.
  5. If your administrator gave you an authority certificate (often ca.crt), type its path in Authority certificate. Leave it empty if the server uses a certificate from a public authority.
  6. Click Save, then Connect.

Connect and disconnect

  • Click Connect on a connection. The line under its name says what it is doing, then "Connected".
  • Click Disconnect to stop.
  • Click a connection to see its details: the server, the encryption in use, the data sent and received, and the addresses.
  • To delete a connection with its keys and saved password, open it and click Remove next to Remove this connection.

If a connection fails, the reason stays on the card until you click Connect again. Nothing tries again by itself.

What is checked for you

  • OpenVPN and IKEv2: the server must prove who it is with its certificate before your password is sent. A server whose certificate is for another name, or from an authority you did not give and do not trust, is refused.
  • WireGuard: the server must know your key; your key never leaves this computer.

What does not work yet

  • OpenVPN over TCP, the "tap" (Ethernet) mode, compression, the older static-key mode and tls-crypt-v2 profiles are refused with a message saying so. Ask your administrator for a UDP profile.
  • IKEv2 with a pre-shared key (a shared password for the whole server) is not offered: anyone who has that key can pretend to be the server.
  • IKEv2 sign-in methods other than user name and password (EAP-MSCHAPv2) or a certificate are not supported.
  • Moving between networks while connected (MOBIKE) is not supported: connect again after you change networks.

If something goes wrong

  • "The server did not answer": check the server's name. For IKEv2, the network must let UDP ports 500 and 4500 through. For OpenVPN, the port in the .ovpn file.
  • "The server's certificate is for ...": type the name your administrator gave you in Server's identity (IKEv2), or ask for a new .ovpn file.
  • "The server refused the user name or password": open the connection, type them again and click Save.

Still stuck? Search the help center or contact support.