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

Home / Guides / WireGuard on the router

WireGuard on the router

Connect an OpenWrt router to Proton VPN with WireGuard: create the file, install luci-proto-wireguard, import it, set the firewall zone.

Set it up on the router and every device at home uses the VPN
Set it up on the router and every device at home uses the VPN GoddersUK, CC BY-SA 3.0

Who it is for

TVs, consoles and anything without an app. A router counts as one device on Free, however many devices sit behind it.

Create the file

  1. Sign in at account.protonvpn.com, Downloads → WireGuard configuration.
  2. Choose Router as the platform and name it.
  3. Pick a server, Create, Download.

OpenWrt

Router SSH
opkg update
opkg install luci-proto-wireguard
reboot
  1. Network → Interfaces → Add new interface, name it proton0, protocol WireGuard VPN.
  2. Load configuration, paste the file, Import settings.
  3. On Peers click Edit, tick Route Allowed IPs, Save.
  4. Put it in the wan zone under Firewall Settings.
  5. Save & Apply.
  1. TV, phoneJoin the home Wi-Fi, nothing to set
  2. RouterEncrypts with WireGuard
  3. Proton serverIts IP is what sites see
The path once it works

Only some traffic

Take the ranges you do not want out of AllowedIPs with the calculator. The default 0.0.0.0/0 sends everything.

Keep in mind

  • Most routers from internet providers cannot do it.
  • A weak router processor is clearly slower than the PC app.
  • Old servers get retired. If it stops working, create a new file.
Can two devices share one file?

No. Create one for each.

Is NetShield available on a router?

On Plus you choose the level when creating the file. On Free only VPN Accelerator is offered.

Read nextYour first connection

Next departures

On this board: Proton VPN on router, OpenWrt WireGuard Proton, Proton VPN WireGuard config