Walkthrough
How to set up Proton VPN or IVPN on a router
Proton VPN requires a router with a WireGuard or OpenVPN client: on a compatible AsusWRT device, download the WireGuard configuration with the Router platform, import the file and press Apply and Enable; the connection is available even on Proton Free. For IVPN on OpenWrt, the method described requires an account created after November 2020, with an ID in the format i-XXXX-XXXX-XXXX: install the WireGuard packages, create a WireGuard VPN interface, import the configuration, enable Route Allowed IPs, set Persistent Keep Alive = 25, configure the VPN zone, remove the LAN → WAN forwarding and specify DNS 172.16.0.1; if you need an alternative service with router configurations — CitadelVPN provides WireGuard and OpenVPN on the MAX plan.
6-minute readLast reviewed From VPN Head-to-Head Comparisons
You will need a VPN account and access to the router settings from a computer or another device on the home network.
Which setup method will suit your router?
First you need to establish the model and firmware version, find the VPN client for the required protocol and choose the corresponding official guide. A VPN server in the settings performs a different task: to connect to a VPN provider you need the client, not the server.
According to the Proton VPN documentation, an OpenVPN or WireGuard client is required. Connecting a router is available on all plans, including Proton Free.
| Situation | Connection method | Model/firmware and limitations | Scope of the guide and basis |
|---|---|---|---|
| Proton VPN on compatible AsusWRT with WireGuard | File Router → Import config file → Apply and Enable | AsusWRT with a WireGuard client | The import and start-up are covered below, following the Proton VPN guide |
| Proton VPN on AsusWRT without WireGuard | OpenVPN | RT-ACxxx and some RT-AXxxx without WireGuard | The Proton VPN guide confirms the protocol choice |
| IVPN on OpenWrt via WireGuard | Packages, import, routing, VPN zone and DNS | OpenWrt; the account must meet the generator condition from the introduction | The set-up is covered below, following the IVPN guide |
For AsusWRT RT-ACxxx and some RT-AXxxx models without WireGuard support, the Proton VPN guide offers OpenVPN. AsusWRT and OpenWrt serve here as worked examples: the sequence of actions cannot be automatically transferred to another firmware.
1. How to connect Proton VPN on AsusWRT?
The sequence from Proton's guide for AsusWRT applies to a compatible router with a WireGuard client.
- In your Proton VPN account, download the WireGuard configuration, selecting the Router platform.
- In the browser's address bar, enter the router's IP address. The default value is 192.168.50.1.
- In the router's settings, choose VPN → VPN Fusion → Add profile.
- Through Import config file, import the downloaded WireGuard file.
- Press Apply and Enable to turn the connection on.
To check: once connected, open Proton's IP scanner mentioned in the guide. The location of the external IP address should match the chosen VPN location.
2. How to install IVPN on OpenWrt?
The packages, parameters and rules below are given in the IVPN guide for OpenWrt. The peer here is the WireGuard server.
How do you install the packages and import the file?
- In System → Software, press Update lists.
- In the same section, install wireguard-tools, kmod-wireguard and luci-proto-wireguard.
The IVPN WireGuard generator is available to accounts created after November 2020, with an ID in the format i-XXXX-XXXX-XXXX.
- In the IVPN generator, create a configuration for your chosen server.
- Unpack the downloaded archive and copy the contents of the configuration file.
- In Network → Interfaces → Add new interface, create an interface with the WireGuard VPN protocol.
- Via General Settings → Load configuration, paste the contents of the file and select Import settings.
How do you configure the peer and the firewall?
- On the Peers tab, open Edit for the imported peer.
- In the peer settings, enable Route Allowed IPs.
- There, also set Persistent Keep Alive = 25 and press Save.
- Create a firewall VPN zone: Input — Reject, Output — Accept, Forward — Reject.
- In this zone, enable Masquerading and MSS clamping.
- In Covered networks, select the VPN interface you have created.
- Set Allow forward from source zones — lan, and leave Allow forward to destination zones as Unspecified.
How do you close the VPN bypass and configure DNS?
- In the lan zone, remove WAN from Allow forward to destination zones and save the changes via Save and Save & Apply.
- In Advanced Settings, disable Use DNS servers advertised by peer.
- In the DNS settings, specify 172.16.0.1 or the address of your chosen AntiTracker list.
- From a device on the local network, run the test at dnsleaktest.com, as IVPN recommends.
Deleting the LAN → WAN forwarding rule stops devices on the home network from getting around the tunnel when the VPN drops. When the tunnel is unavailable, this means loss of internet access for those devices.
A worked example: a test from a laptop on a home network in Leeds shows the ISP's DNS. Diagnostic steps: disable Use DNS servers advertised by peer, specify 172.16.0.1 or the DNS of your chosen AntiTracker and repeat the DNS test from a device on the local network. A repeat test will show whether the problem persists.
3. How to use a different VPN client, and what to do if it does not work?
The general IVPN guide for routers describes a method for WireGuard and OpenVPN: generate a configuration and import it into the VPN client. For OpenVPN, the login is the Account ID, respecting its case, and the password may be any non-empty string. This information does not replace the setup sequence for a specific firmware.
If it does not work, the cause determines the action:
- The AsusWRT settings will not open: disable the VPN on the device from which the router's panel is being accessed and try logging in again.
- Connection failures on outdated firmware: install the latest available official version. Proton states that updates are needed for compatibility.
- IVPN rejects OpenVPN authorisation: correct the case of the Account ID and fill in the password with a non-empty string.
- IVPN traffic goes around the tunnel: correct the lan zone forwarding as described above, deleting WAN.
Most routers handed out by internet providers do not support VPN configuration, according to Proton's documentation. When choosing hardware, you need a VPN client; a configuration file on its own does not add one.
According to Proton, VPN speed depends on the router's processor. To change the Proton VPN server, you need to update the router configuration. Devices for which routing into the tunnel has been configured on the router go through the VPN.
Other practical material is collected on the main page of the site.
Checklist for completing the setup:
- Proton VPN on compatible AsusWRT: the Router file has been imported, Apply and Enable pressed, and the routing of the required devices and the external IP location checked.
- IVPN on OpenWrt with an account meeting the WireGuard generator condition: the peer, VPN zone and DNS have been configured, the bypass via WAN removed and a DNS test carried out from a device on the local network.