Use dosya VPN with the WireGuard app or a router

Create WireGuard profiles for dosya VPN in the web app, scan the QR code or download the files, start a location, and turn the tunnel on.

Last reviewed

You do not have to use our apps. Any WireGuard client can connect to dosya VPN with a profile from the web app. This suits routers, devices we have no app for, and people who already use WireGuard.

The difference from our apps: a WireGuard client cannot start a server by itself. You start the location on the web first, then turn the tunnel on.

Steps: create a device and its profiles

  1. Sign in at app.dosya.dev and open VPN in the sidebar.
  2. Select Add a device.
  3. Type a Device name you will recognise, choose what kind of device it is, and select Create.
  4. Get the profiles onto the device:
    • Phone or tablet: open the WireGuard app, tap +, choose Scan from QR code, and scan the code on screen. Use Profile for to switch the code to another location.
    • Computer or router: select Download all 20 locations. You get dosya-vpn-profiles.zip, with one .conf file per location, named like dosya-de.conf.
  5. Select I’ve scanned it when you are done.

Keep the downloaded zip somewhere safe. The key for this device is made in your browser and never sent to us, so we cannot show these profiles again.

Steps: connect

  1. On the VPN page, find the location in the Locations list and select Start. Its label changes to Starting with a timer, then to Ready. A location that is already Ready shows Connect and needs no wait.
  2. When the page says Ready: turn the tunnel on in the WireGuard app, activate the profile for that same location in your WireGuard client.
  3. Watch the page. It changes to Connected with your device name once the server sees your device.

If the page shows Not connecting?, turn the tunnel off, wait a few seconds, and turn it on again.

Expected result

The VPN page shows Connected with your device name. Your WireGuard client shows a recent handshake and data moving in both directions.

Add more locations to an existing device

  1. Under Your devices, select Get profiles beside the device.
  2. Choose one of that device’s existing .conf files. The file is read in your browser and is not uploaded.
  3. Download or scan the profiles for the other locations.

A file from a different device is rejected with This file belongs to a different device.

Routers and always-on setups

Import one location’s .conf file in your router’s WireGuard client settings. Two things to plan for:

  • A server stays on while a device is connected to it, so a router that keeps the tunnel up keeps its location running.
  • If the router loses the tunnel for long enough that the location switches off, start the location again on the VPN page before the router can reconnect.

All devices behind the router share one of your 5 device slots and the same monthly data allowance.

Profile details

Profiles route all IPv4 and IPv6 traffic through the tunnel, use UDP port 51820, and set the DNS servers to 9.9.9.9 and 149.112.112.112. If you edit AllowedIPs to route only some traffic, the rest uses your normal connection.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.