Skip to content
Guide centre

How to set up a VPN on a Mac

Choose your connection method below and follow the steps. macOS asks you to allow the VPN configuration the first time an app adds one.

  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 macOS

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

3Follow the guide

WireGuard® on macOS

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 WireGuard® for macOS from the b4vpn download page and keep the file to hand.

    Download WireGuard®
  2. 2

    Step 2

    Install and open it

    Run the installer, then open WireGuard®. Most VPN apps ask permission to add a VPN connection the first time they run — allow it when prompted.

    Screenshot coming soon
  3. 3

    Step 3

    Get your b4vpn configuration

    Your account provides the configuration WireGuard® needs. Copy it in full so you can paste it in the next step.

    What you will be asked for

    Configuration or subscription link
    From your account

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

Connection

  1. 4

    Step 4

    Import it into WireGuard®

    Use the app’s add or import action and paste in what you copied. The b4vpn profile appears in the app’s own list once it is accepted.

    Screenshot coming soon
  2. 5

    Step 5

    Connect

    Select the b4vpn profile and press connect. Your device may ask you to confirm the VPN permission once more.

    Screenshot coming soon
  3. 6

    Step 6

    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.