# Using Obscura via WireGuard

> Use Obscura on any device

Canonical URL: https://obscura.com/knowledge/using-obscura-via-wireguard/

If you’re on a platform where we don’t yet have a native Obscura app, you can use the WireGuard app to use Obscura.

If you’re on iOS, macOS, Android, Windows, or a supported Linux distribution, we recommend you use the [native Obscura app](../../download/).



**Android (w/ QR code, recommended)**

> **Note**
>
> This guide assumes that you **have a computer nearby** for your Android phone to scan a QR code from. **This is usually the easier + recommended option**.
>
> See the “[Android (phone-only) tab](#android-phone-only)” if you only have access to your phone.

#### TL;DR

1. On your computer, generate a WireGuard config **QR code** in your [Obscura **user portal**](../../account/tunnels/) ([more details](#generate-config-andr-rec))

2. On your Android phone, use the WireGuard app to scan the previously generated **QR code** and add it ([more details](#config-to-phone-andr-rec))

3. Toggle on the WireGuard config and you’re connected to Obscura [check connection page](../../check/) ([more details](#activate-tunnel-andr-rec))

## Step 1: Generating a WireGuard config

1. On your computer, open your Obscura **user portal** and navigate to the [Manage WireGuard configs](../../account/tunnels/) section

2. Under **Active Tunnels** click **Register WireGuard config**

   ![Register new Config](/a/Register-new-config.BsmkMjNL_Z1bRgTV.webp)

3. Choose your server location (**Relay Server**) and optionally an **Exit Server** then click **Generate config** ![Generate Config](/a/Generate-config.CnUfws-Z_Z2haOsI.webp)

## Step 2: Adding the WireGuard config to your phone

1. Download WireGuard from the [Play Store](https://play.google.com/store/apps/details?id=com.wireguard.android) or install the [APK](https://download.WireGuard.com/android-client) directly

2. On your Android device, open the WireGuard app and tap the **+** button in the bottom-right corner

   ![Wireguard Plus Button on
   Android](/a/android-plus-button.DuLKvMGe_Z2eh5ku.webp)

3. Tap **Scan from QR code** ![Menu on Android](/a/Android-Popup-Scan.CPStF-9X_Z1KI61e.webp)

4. Scan the QR code you previously generated on your computer

5. **Name** your tunnel, then tap **Create Tunnel** ![Arrow pointing to Create Tunnel button after tunnel has been named](/a/named-tunnel-android.DEymc2J6_G5Llh.webp)

## Step 3: Activating the WireGuard tunnel

1. Activate the tunnel ![Arrow pointing to toggle button next to the WireGuard config to show how
   to turn on the
   VPN](/a/deactivated-tunnel-android.C7ZraS46_1cBrqu.webp)

2. Confirm you’re connected to Obscura on our [check connection page](../../check) ![Connected to Obscura on Android](/a/Connected-to-Obscura-Android.CEaT-aff_161que.webp)

**Android (phone-only)**

> **Note**
>
> This guide assumes you have access to **only an Android device**.
>
> See the “[Android (w/ QR code, recommended) tab](#android-w-qr-code-recommended)” if you have access to a computer as well.

#### TL;DR

1. On your phone, generate a WireGuard config file in your [Obscura **user portal**](../../account/tunnels) and download it ([more details](#generate-config-andr))

2. On your Android phone, use the WireGuard app to import the previously generated config file and add it ([more details](#config-to-app-andr))

3. Toggle on the WireGuard config and ensure you’re connected to Obscura on our [check connection page](../../check) ([more details](#activate-tunnel-andr))

## Step 1: Generating a WireGuard config

1. In your Obscura **user portal**, navigate to the [Manage WireGuard configs](../../account/tunnels) section

   ![Register new
   Config](/a/Manage-Wireguard-Config-Android.CMMcO33M_1mQfS1.webp)

2. Under **Active Tunnels** click **Register WireGuard config** ![](/a/Register-Wireguard-Config.LhyrTlC4_ZhEMK4.webp)

3. Choose your server location (**Relay Server**) and optionally **Exit Server** then click **Generate config** ![Generate Config](/a/Generate-config-android.D6fpYrYj_2gwfWn.webp)

4. Tap **Download config file** and save the file to your device ![Generate Config](/a/QR-code-Android.By0YYYfb_ZfsTsF.webp)

## Step 2: Adding the config to the WireGuard app

1. Download WireGuard from the [Play Store](https://play.google.com/store/apps/details?id=com.wireguard.android) or install the [APK](https://download.WireGuard.com/android-client) directly

2. Open the WireGuard app and tap the **+** button in the bottom-right corner ![Wireguard Plus Button on
   Android](/a/android-plus-button.DuLKvMGe_Z2eh5ku.webp)

3. Tap **Import from file or archive** ![Menu on Android](/a/Android-Popup-File.R6QK6Om2_Z1NHh8r.webp)

4. Select the config file and import it into the WireGuard app

5. **Name** your tunnel, then tap **Create Tunnel** ![Arrow pointing to Create Tunnel button after tunnel has been named](/a/named-tunnel-android.DEymc2J6_G5Llh.webp)

## Step 3: Activating the WireGuard Tunnel

1. Activate the tunnel ![Arrow pointing to toggle button next to the WireGuard config to show how
   to turn on the
   VPN](/a/deactivated-tunnel-android.C7ZraS46_1cBrqu.webp)

2. Confirm you’re connected to Obscura on our [check connection page](../../check) ![Connected to Obscura on Android](/a/Connected-to-Obscura-Android.CEaT-aff_161que.webp)

**Windows**

#### TL;DR

1. On your computer, generate a WireGuard config file in your [Obscura **user portal**](../../account/tunnels) and download it ([more details](#generate-config-win))

2. On your Windows computer, use the WireGuard app to import the previously generated config file and add it ([more details](#config-to-wireguard-app-win))

3. Toggle on the WireGuard config and ensure you’re connected to Obscura on our [check connection page](../../check) ([more details](#activate-tunnel-win))

## Step 1: Generating a WireGuard config

1. In your Obscura **user portal**, navigate to the [**Manage WireGuard configs**](../../account/tunnels) section > click **Register new config** > choose your location (**Relay Server**) and optionally **Exit Server** > click **Generate config**

   Your browser does not support the video tag.

2. Click **Download config file** and save it to your computer

## Step 2: Adding the config to the WireGuard app

1. Download the latest WireGuard application from their [website](https://www.WireGuard.com/install) ([direct download](https://download.WireGuard.com/windows-client/WireGuard-installer.exe))

2. Open the WireGuard application and click on **Import tunnel(s) from file** in the center of the application, then select your Obscura config file ![Wireguard on Windows showing how to generate
   Tunnel](/a/Wireguard-Windows.DYHRv7P-_1ls4Et.webp)

## Step 3: Activating the WireGuard Tunnel

1. Click **Activate** ![](/a/Windows-WireGuard-Inactive.C-7rA9i5_2pV9TT.webp)

2. Ensure your WireGuard tunnel is active ![](/a/Windows-WireGuard-Active.rs1E9u9d_ZtmfL4.webp)

3. Confirm your connection status on our [check connection page](../../check/) ![Connected to Obscura on Android](/a/Connected-to-Obscura-Windows.CdWXEwne_Z1UPX3C.webp)

## Block Ads and Other Content while using WireGuard

Obscura uses Mullvad’s DNS by default. **You can benefit from their content blocking features** by just pointing your config at the right DNS resolver.

Categories you can block include **ads, trackers, malware, adult content, gambling and social media**.

1. Open your WireGuard `.conf` file in a text editor

2. Look for the `DNS =` line (it should be `DNS = 10.64.0.1` by default)

3. Change the line to one of Mullvad’s `100.64.0.X` addresses from [Mullvad’s DNS blocking list](https://github.com/mullvad/dns-blocklists/blob/main/COMBINATIONS.md) depending on what you want blocked. For example, `DNS = 100.64.0.3` blocks ads and trackers.

4. Re-import and enable your WireGuard config

> **Note**
>
> You can add any DNS service on the `DNS =` line if you need features Mullvad’s DNS doesn’t offer.
