surfshark.is
English
简体中文繁體中文EnglishРусскийفارسی

HomeGuidesManual setup

Manual setup

Connecting without the Surfshark app: generating WireGuard keys and configs in the account, OpenVPN service credentials, router and OpenWrt notes, the hostname format and which features manual setups lose.

No app: configure WireGuard or OpenVPN by hand
No app: configure WireGuard or OpenVPN by hand Inisheer, CC BY-SA 3.0

When you need it

  • Routers: every device at home goes through it, TVs and consoles too.
  • Systems the app does not support.
  • You want the official WireGuard or OpenVPN clients.

WireGuard

  1. Sign in to the account, open Manual setup and choose WireGuard.
  2. Generate a key pair and name it.
  3. Pick a location and download the configuration file.
  4. Import it into the WireGuard client or the router.
A configuration file looks roughly like this
[Interface]
PrivateKey = your private key
Address = 10.14.0.2/16
DNS = the address in the file

[Peer]
PublicKey = server public key
AllowedIPs = 0.0.0.0/0
Endpoint = de-fra.prod.surfshark.com:51820

OpenVPN

OpenVPN does not use your sign-in email and password but a separate service username and password generated under Manual setup. Configuration files are downloaded per location, in UDP and TCP versions.

Hostnames

The format is "country code-city code.prod.surfshark.com", for example de-fra.prod.surfshark.com. Search the full list in the location finder.

What you lose

FeatureManual setup
CleanWeb, BypasserNone
Kill SwitchDepends on the client or router
NoBorders, CamouflageNone
Automatic server changeNone
How many devices can share one configuration?

Better to generate one per device; if one is lost, you delete only that one.

The router is slow with it on?

The router's processor is the bottleneck. WireGuard is much faster than OpenVPN; choose it when you can.

Read nextSign-in and first connection

Also worth reading

Topics on this page: Surfshark WireGuard config, Surfshark router, Surfshark OpenVPN