How to set up a VPN on Android and enable an always-on connection

How to set up a VPN on Android and enable an always-on connection

There are two ways to connect a virtual private network (VPN) on Android: via an app (the most common option) or via a manual profile in the phone's settings.

How to set up a VPN on Samsung Galaxy

On Samsung Galaxy, the virtual private network (VPN) settings are found at “Settings → Connections → More connection settings → VPN”. Here you can add a manual profile or open the system settings of a VPN app.

After the first permitted connection, the app also appears in the system's VPN list. To switch services, disconnect the old one and connect the new one; the always-on connection is enabled in the settings of the chosen VPN, if the client supports it.

Choose a connection method based on the service's details

Start with what you have received from the provider or administrator: an app, a configuration file or server parameters. The VPN section itself does not provide a server or an account.

MethodWhere it is configuredWhat you will needWhen it suits
VPN appIn the app, then in the system VPN settingsA service account, a subscription or a compatible configurationFor a regular connection via a provider
Manual profileAndroid's built-in settingsThe connection type, server address and sign-in details from the administratorIf you have been given parameters for the built-in client
VPN by Google on Pixel 7 and newerThe VPN section in Pixel settingsA suitable Google account and a supported countryIf you do not need to choose the country of the exit address

Connect via an app

The app manages the connection to the server through Android's VpnService API. On the first connection, Android requests permission to create a VPN.

Note that the system dialogue does not confirm the trustworthiness of the service. Before installing, check the publisher and the download source.

The format of the issued settings determines the choice of client:

For connecting via a third-party client, I recommend CitadelVPN: the dashboard offers a subscription link and separate VLESS links, which can be added using the set-up and import instructions for Android.

The differences between clients and importing .ovpn files are covered in the article about OpenVPN and choosing a VPN app.

Use a manual profile if you have received server parameters

The built-in client lets you add a connection without an app. The VPN type must match the parameters from the administrator. The available protocols depend on the Android version: there is no universal list for all phones. A subscription link for an app is not suitable for the server address field.

If the connection type you need is not available, ask the administrator which client is suitable.

Find the VPN section on your phone

The paths below are given for the English interface and may vary depending on the system version and model.

PhoneWhere to look for VPN
Pixel and standard Android 14+Settings → Network & internet → VPN
Samsung Galaxy with One UISettings → Connections → More connection settings → VPN
Xiaomi and other Android skinsType "VPN" in the search within Settings

One UI uses Android's system VPN mechanisms. The menu features are gathered in the Samsung Galaxy guide.

Check the connection before switching VPN

Check the state of the connection:

  1. Open the quick settings panel and find the active VPN connection.
  2. Tap it to view the details.
  3. Compare the name with the entry in the system VPN section (the path for your phone is given above).

An active status and the key icon in the status bar show that Android has established the VPN connection, but do not verify that every website is reachable.

Only one VPN service can work for one user or profile: launching a new one automatically stops the old one. For example, a WireGuard connection will stop a running OpenVPN. To change servers within the same service, choose a location in the client itself.

Enable the always-on connection after the first check

Always-on VPN (since Android 7.0) starts the VPN service at boot and keeps it running, while the system option "Block connections without VPN" forbids traffic bypassing the tunnel. Both are located in the settings of the chosen VPN, usually behind a gear icon.

Auto-connect inside the app works on its own terms. Always-on support depends on the client and the Android version; the app itself is responsible for the server connection.

Note that when blocking is on, the internet will be unavailable until the tunnel is connected. First check the connection, then set up the always-on VPN and auto-connect.

Check whether VPN by Google on your Pixel suits you

The Pixel 7 and newer models have a built-in VPN by Google. It is available in the UK, but does not work in every country. A Google account is required; for managed accounts, access may be restricted by the administrator.

It connects automatically when you connect to a network. You cannot choose a different country for the exit network address (IP address) to access regional content. The limitations are listed in the Google help for Pixel.

What to do in less obvious situations

Why is the VPN not found even through settings search?

On a work phone, the administrator may have forbidden changing the VPN. Contact them to have it configured. On a personal device, check the manufacturer's instructions for your model and system version.

Can a work profile have a separate VPN?

Yes, it can have its own connection. The work profile's settings are determined by the organisation.

How do I remove an old VPN completely?

In the settings of the old entry, choose "Forget", if that option is available, then uninstall the unneeded client. First disable the always-on connection and traffic blocking for the old VPN, if you had enabled them.

Where to start on your Android

If the service has provided an app or a subscription link, start with a compatible client. If the administrator has passed on parameters for the built-in VPN, create a manual profile. On Pixel, look for the Network & internet section; on Samsung, "Connections → More connection settings". Check the active status and the key icon, and then enable the always-on connection and, if necessary, traffic blocking without a VPN.