Skip to content
Guide centre

How to set up a VPN on Android

Choose your connection method below and follow the steps. The first time you connect, Android asks you to allow the VPN connection: accept it, or the app cannot work.

  1. You
  2. Your device
  3. b4vpn
  4. Secure connection

Search by device or method

Which device are you setting up?

Everything below follows this choice, so you only ever see one guide at a time.

1Choose your device
2Choose your method

Guides for Android

Pick the method you are setting up. Each one has its own step-by-step guide.

3Follow the guide

OpenConnect on Android

Follow the steps in order. It takes a few minutes the first time, and nothing after that.

Installation

  1. 1

    Step 1

    Get the app

    Download OpenConnect for Android from the b4vpn download page.

    Download OpenConnect
  2. 2

    Step 2

    Install and open it

    Run the installer and open OpenConnect, allowing the VPN permission when your device asks for it.

    Screenshot coming soon
  3. 3

    Step 3

    Have your b4vpn details ready

    Your account provides the server address and the sign-in details OpenConnect will ask for.

    What you will be asked for

    Server address
    From your account
    Username
    From your account
    Password
    From your account

    These come from your b4vpn account — they are never published on this page.

Connection

  1. 4

    Step 4

    Add the b4vpn server

    Use the app’s add-connection action and enter the server address exactly as it was issued to you.

    Screenshot coming soon
  2. 5

    Step 5

    Sign in

    Enter your username and password when OpenConnect asks for them.

  3. 6

    Step 6

    Connect

    Press connect and wait for OpenConnect to report an established session.

    Screenshot coming soon
  4. 7

    Step 7

    Check that it worked

    The app reports a connected state and your device shows its own VPN indicator. Open any page to confirm traffic is flowing.

These steps describe the process for this kind of app. Button names can differ slightly between apps and versions, and your connection details come from your account.

Connected?

That is everything. If any step did not go as described, the answers below cover what usually causes it.

Troubleshooting

If something does not work

The five things that account for most of it, and what to try first.

  • Check the details were entered exactly as issued — a missing character is the usual cause. If they are right, try another method for your device: when one is blocked on a network, another often is not.

  • Make sure you downloaded the file for your own platform, and that your device is set to allow installing it. Where a store version exists, that is the simplest route on phones.

  • Speed depends on your network and the method in use. Try a different method, or a different b4vpn location, before assuming the account is at fault.

  • Configurations are easy to truncate when copying. Copy it again in full, with no added spaces or line breaks, and paste it straight into the app.

  • Some networks close idle VPN sessions. Reconnect, and if it keeps happening, tell support which method and which network you are on.