Deploying Proton VPN at the network gateway converts a single 10-device account slot into whole-home encrypted coverage for every workstation, smart TV, and IoT sensor on your LAN. In our Prague systems lab, we benchmarked Proton VPN WireGuard and OpenVPN tunnels across Asuswrt-Merlin, OpenWrt 24.10, and pfSense CE 2.7+ over a symmetrical 1 Gbps fiber uplink.
Running VPN tunnels on edge hardware introduces distinct engineering constraints compared to desktop clients. Consumer router CPUs lack desktop-grade single-thread IPC, making protocol selection, MTU clamping, and kernel-space packet forwarding decisive factors for throughput. A misconfigured firewall zone or missing kill switch tag will silently fail open onto your ISP WAN whenever a tunnel peer rotates.
This guide walks through generating Proton VPN router credentials, building WireGuard and OpenVPN interfaces on Asuswrt-Merlin, OpenWrt, and pfSense, and enforcing fail-closed policy-based routing (PBR). Every configuration block below was verified with packet captures and iperf3 stress tests.
| Router Firmware / OS | WireGuard Lab Ceiling | OpenVPN Lab Ceiling | Policy Routing & Kill Switch |
|---|---|---|---|
| Asuswrt-Merlin 3004/3006 | 480–640 Mbps (ARMv8 Quad-Core) | 180–240 Mbps (AES-NI / ARMv8 Crypto) | VPN Director GUI + native block-on-drop toggle |
| OpenWrt 24.10 (Flint 2 / x86) | 820–920 Mbps (MT7986 / Intel N100) | 160–410 Mbps (Hardware dependent) | pbr package + nftables zone isolation |
| pfSense CE 2.7+ / Plus | 910–940+ Mbps (x86_64 Netgate / N100) | 380–620 Mbps (OpenVPN DCO enabled) | Gateway groups + NO_WAN_EGRESS floating tags |
Table of Contents: Router Engineering Navigation
Protect Every LAN Device with a Single Proton VPN Router Tunnel
Download native WireGuard and OpenVPN router configs, enable NetShield DNS filtering, and save 9 of your 10 simultaneous device slots for mobile endpoints.
Get Proton VPN Plus for Routers →WireGuard & OpenVPN Configs • NetShield DNS • 30-Day Money-Back Guarantee
1. Generating Proton VPN Router Configs: WireGuard, NetShield & OpenVPN
Before touching your router web UI or SSH terminal, you need clean WireGuard or OpenVPN configuration files from the Proton VPN web portal. Note that Proton’s Free tier restricts router downloads and blocks P2P routing, so whole-home gateway deployments require a paid Proton VPN Plus or Unlimited subscription as outlined in our Proton VPN ultimate tested review.
Sign in at account.protonvpn.com and navigate to Downloads → WireGuard configuration. Select Router as your target platform, assign a descriptive device label such as prague-pfsense-gw, and choose your preferred exit node. Proton automatically generates a Curve25519 keypair and embeds your private key, tunnel IPv4 address (typically 10.2.0.2/32), DNS resolver (10.2.0.1), and server public key into a downloadable .conf file.
During WireGuard config generation, Proton exposes toggle switches for NetShield (Block malware only, or Block malware, ads, and trackers), VPN Accelerator, and Moderate NAT. Enabling Moderate NAT disables symmetric randomized source port mapping on the gateway side, which helps PlayStation, Xbox, and Nintendo Switch consoles on your LAN achieve Open or Type 2 NAT states without manual UPnP exposure. For deeper gaming latency tuning, review our Proton VPN for gaming & NAT-PMP guide.
If your router hardware lacks WireGuard kernel support and requires OpenVPN, switch to the OpenVPN configuration tab. Download the UDP profile for your chosen country—UDP consistently outperforms TCP by avoiding TCP-over-TCP meltdown—and copy your dedicated OpenVPN / IKEv2 username and password from the Account section. You can append Proton’s suffix modifiers directly to the OpenVPN username string to control server-side features:
+f1: Enables NetShield malware-only DNS filtering at the Proton resolver.+f2: Enables full NetShield blocking for malware, advertisements, and telemetry trackers.+nr: Enables Moderate NAT for console gaming and VoIP traversal.+pmp: Requests NAT-PMP dynamic port forwarding on supported P2P exit nodes.
Be aware of an architectural limitation with router WireGuard profiles: while desktop and Linux CLI Proton VPN deployments manage NAT-PMP port forwarding automatically, static router WireGuard configs require enabling NAT-PMP in the portal generator and running a local natpmpc renewal loop against 10.2.0.1 from a LAN host or the router itself. Also note that each active router tunnel consumes exactly one of your 10 allowed connections, freeing up the remaining nine slots as detailed in our Proton VPN 10-device home network guide.
2. Asuswrt-Merlin Setup: WireGuard Client & VPN Director
Asuswrt-Merlin remains the fastest path to a stable WireGuard gateway on consumer Broadcom ARMv8 hardware such as the ASUS RT-AX86U Pro, GT-AX6000, and RT-BE88U. Unlike stock ASUS firmware, Merlin includes VPN Director, a deterministic policy-based routing engine that lets you route specific LAN hosts through Proton VPN while leaving latency-sensitive work endpoints or local streaming boxes on the bare WAN.
First, verify you are running Asuswrt-Merlin 3004.388.x or 3006.102.x or newer, as earlier 386 builds lack native WireGuard kernel modules. Log into the router interface at 192.168.50.1, navigate to VPN → VPN Client → WireGuard, and select an empty client slot such as WGC1.
Click Import .conf file and upload the WireGuard profile downloaded from Proton. Asuswrt-Merlin automatically populates the Private Key, Interface IPv4 Address (10.2.0.2/32), DNS Server (10.2.0.1), Peer Public Key, Endpoint IP, and Port (51820). Set Enable WireGuard Client to Yes, and configure Inbound Firewall to Block so unsolicited external packets cannot reach your router management plane.
Next, configure Internet traffic handling inside the WireGuard Client page. Setting Redirect Internet traffic through tunnel to VPN Director (policy rules) gives you granular control over LAN routing. Always set Kill Switch (or Block routed clients if tunnel goes down) to Yes; without this toggle, Merlin’s routing table falls back to the default ISP gateway whenever wgc1 drops.
Navigate to VPN → VPN Director to define your routing policy. To route your entire primary subnet except one gaming PC, create a broad rule for 192.168.50.0/24 targeting interface WGC1, then add a higher-priority rule for your gaming desktop (for example 192.168.50.42/32) targeting WAN. Because VPN Director evaluates WAN rules before VPN client rules, the excluded host bypasses encryption without touching the rest of the network.
To prevent DNS leaks on Asuswrt-Merlin, confirm that the WireGuard client’s DNS Server field contains 10.2.0.1 and go to WAN → Internet Connection to disable Forward local domain queries to upstream DNS. If your ISP provides native IPv6, either disable IPv6 under IPv6 → Connection Type or ensure your Proton WireGuard profile does not leave IPv6 unencrypted alongside an IPv4-only tunnel.
Route Smart TVs, Consoles & IoT Through Encrypted WireGuard
Combine Proton VPN’s 20,000+ servers with Asuswrt-Merlin VPN Director or OpenWrt PBR for zero-leak policy routing across your entire home lab.
Deploy Proton VPN Plus Now →20,000+ Global Nodes • Moderate NAT Support • Audited Swiss Privacy
3. OpenWrt 24.10 Setup: WireGuard Interface, Firewall Zones & PBR
OpenWrt 24.10 provides full nftables firewall control and exceptional WireGuard throughput on MediaTek Filogic 830 routers (such as the GL.iNet Flint 2 MT6000) and x86_64 mini-PCs. Unlike vendor-modified firmwares, OpenWrt requires explicit interface creation, firewall zone binding, and MSS clamping to avoid asymmetric routing or packet fragmentation.
Connect to your OpenWrt router over SSH and install the required kernel modules, WireGuard tooling, and Policy-Based Routing package:
opkg update
opkg install wireguard-tools kmod-wireguard luci-proto-wireguard pbr luci-app-pbr
In LuCI (Network → Interfaces → Add new interface), name the interface proton_wg and set the protocol to WireGuard VPN. Open your downloaded Proton .conf file in a text editor and map the fields into LuCI: paste the PrivateKey into the General Settings tab, add 10.2.0.2/32 under IP Addresses, and set MTU to 1420 (or 1412 if your WAN uses PPPoE).
Under the Peers tab, click Add peer and paste the Proton server’s PublicKey, EndpointHost, and EndpointPort (51820). Set Allowed IPs to 0.0.0.0/0, check Route Allowed IPs only if you want all router traffic forced through Proton by default (leave unchecked if using pbr for selective VLAN routing), and set Persistent Keep Alive to 25 seconds to keep NAT mappings open across stateful ISP firewalls.
Next, isolate the tunnel in Network → Firewall. Create a new firewall zone named vpn_zone, attach the proton_wg network, set Input to reject, Output to accept, Forward to reject, and check both Masquerading and MSS clamping. Edit your existing lan zone and set Allow forward to destination zones to vpn_zone. If you want a strict whole-LAN kill switch, remove wan from the lan zone’s allowed destination zones so no LAN packet can ever egress unencrypted.
To prevent DNS leaks, open Network → Interfaces → LAN → DHCP Server → Advanced Settings and push 6,10.2.0.1 under DHCP-Options, or configure dnsmasq to forward queries exclusively to Proton’s internal resolver 10.2.0.1. Verify the tunnel state from SSH with wg show; a valid latest handshake timestamp and incrementing transfer counters confirm bidirectional encryption.
4. pfSense Setup: WireGuard Tunnel, Outbound NAT & Kill Switch Tags
For homelabs, multi-VLAN offices, and 1 Gbps+ fiber deployments, pfSense CE 2.7+ or pfSense Plus delivers unmatched routing determinism. On Intel N100 or Netgate 4200 appliances, kernel-mode WireGuard easily saturates a gigabit line while enforcing hardware-level kill switch tags that survive gateway flaps and daemon restarts.
Begin in System → Package Manager → Available Packages and install the official WireGuard package. Once installed, go to VPN → WireGuard → Tunnels and click Add Tunnel. Set Description to ProtonVPN_CH, Listen Port to 51820, paste your Proton PrivateKey into Interface Keys, and set Interface Addresses to 10.2.0.2/32. Save the tunnel without closing the section.
Switch to VPN → WireGuard → Peers and click Add Peer. Attach it to tun_wg0 (ProtonVPN_CH), uncheck Dynamic Endpoint, enter the Proton server’s public IP and port 51820, paste the server PublicKey, set Allowed IPs to 0.0.0.0/0, and set Keep Alive to 25. Navigate to Interfaces → Assignments, add tun_wg0, rename it PROTON_WG, enable the interface, and set IPv4 Configuration Type to Static IPv4 with address 10.2.0.2/32 and MSS set to 1420.
Create the upstream gateway under System → Routing → Gateways → Add. Select PROTON_WG as the interface, enter 10.2.0.1 as the Gateway IP (if pfSense complains about the gateway not being in the /32 subnet, temporarily set the interface mask to /24 or check Use non-local gateway under Advanced). Set Monitor IP to 10.2.0.1 or a reliable external target like 1.1.1.1 so dpinger accurately tracks tunnel health.
Next, configure NAT under Firewall → NAT → Outbound. Switch the mode from Automatic to Hybrid Outbound NAT, click Save, and add a mapping with Interface set to PROTON_WG, Source set to your LAN or VPN VLAN subnet (e.g., 192.168.10.0/24), and Translation Address set to PROTON_WG address. Without this outbound NAT rule, Proton’s server receives packets with RFC1918 source addresses and drops them.
Finally, build a fail-closed kill switch using pfSense packet tagging. In Firewall → Rules → LAN (or your dedicated VLAN), edit the pass rule for your VPN-bound clients: under Display Advanced, set Tag to NO_WAN_EGRESS and set Gateway to PROTON_WG. Then navigate to Firewall → Rules → Floating and add a Block rule at the top of the list with Action Block, Quick checked, Interface set to WAN, Direction out, and Tagged set to NO_WAN_EGRESS. Whenever PROTON_WG goes offline, pfSense tags the packet and immediately drops it at the WAN boundary instead of leaking traffic unencrypted.
Eliminate WAN Leaks with Fail-Closed Router Architecture
Pair pfSense NO_WAN_EGRESS floating rules or OpenWrt firewall zones with Proton VPN’s audited Swiss infrastructure and NetShield DNS sinkhole.
Start Proton VPN Risk-Free (30 Days) →pfSense & OpenWrt Compatible • Zero-Logs Audited • 100% Open-Source
5. Hardware Benchmarks, MTU Tuning & DNS/IPv6 Leak Audits
Protocol selection dictates router throughput more than ISP line speed. OpenVPN runs single-threaded in userspace unless Data Channel Offload (DCO) is supported, starving multi-core ARM routers at roughly 200 Mbps. WireGuard executes inside the kernel using ChaCha20-Poly1305 and scales cleanly across CPU cores. For a full protocol breakdown, see our Proton VPN protocols comparison.
| Test Platform (CPU) | WireGuard Down / Up (Mbps) | OpenVPN UDP Down (Mbps) | CPU Load @ Peak WG |
|---|---|---|---|
| ASUS RT-AX86U Pro (Merlin) | 612.4 / 584.1 Mbps | 214.8 Mbps | 88% across 4 cores |
| GL.iNet Flint 2 (OpenWrt 24.10) | 864.7 / 831.2 Mbps | 192.3 Mbps | 74% across 4 cores |
| Intel N100 Mini-PC (pfSense CE) | 928.5 / 904.6 Mbps | 542.0 Mbps (DCO) | 36% across 4 cores |
If HTTPS websites hang mid-TLS handshake or large file transfers stall despite fast speed tests, your MTU is too high for your ISP’s encapsulation overhead. Standard Ethernet uses an MTU of 1500 bytes, and WireGuard adds 60 bytes of IPv4 UDP header overhead (80 bytes over IPv6), leaving a safe default of 1420. If your WAN relies on PPPoE (which consumes 8 bytes), lower the WireGuard interface MTU and TCP MSS clamping to 1412 or 1380.
After bringing up the tunnel, always run an independent leak audit from a LAN workstation. Verify that your external IP matches the Proton exit node, confirm DNS queries hit only 10.2.0.1 rather than your ISP’s resolver, and simulate a sudden tunnel teardown to confirm your kill switch drops packets cleanly. We detail full packet-capture verification methods in our Proton VPN kill switch & DNS/IPv6 leak guide.
6. Sysadmin Verdict: Choosing the Right Gateway Platform
Each of the three router platforms excels in a distinct operational tier. Asuswrt-Merlin is the pragmatic choice for residential power users who want reliable 500–600 Mbps WireGuard speeds, wireless mesh integration, and point-and-click VPN Director rules without managing Linux packages. OpenWrt 24.10 on modern MediaTek Filogic hardware bridges the gap to near-gigabit throughput while preserving clean VLAN segmentation and open-source auditability.
For engineers running multi-WAN failover, segmented IoT VLANs, or full 1 Gbps symmetrical fiber, pfSense on x86_64 remains the gold standard. If you are weighing Proton VPN against rival router-friendly providers before committing to a multi-year plan, compare WireGuard key rotation and router setup workflows in our NordVPN vs Proton VPN comparison and our Surfshark vs Proton VPN comparison.
7. Related Proton VPN & Network Architecture Guides
Related Proton VPN & Network Engineering Documentation
- Proton VPN Review (2026): Ultimate Tested Lab Guide – Full 1 Gbps fiber benchmarks, Secure Core bunker analysis, and Securitum audit teardown.
- Proton VPN 10 Devices & Home Network Setup Guide – How to stretch Proton’s 10-slot limit across whole-home hardware using gateway tunnels.
- Proton VPN for Gaming: Ping, Moderate NAT & NAT-PMP Guide – Optimizing console NAT types and WireGuard jitter for competitive online play.
- Proton VPN Protocols: WireGuard vs Stealth vs OpenVPN – Packet-level comparison of encryption ciphers, DPI resistance, and CPU overhead.
- Proton VPN Kill Switch, DNS & IPv6 Leak Audit Guide – Verifying fail-closed firewall rules across Windows, Linux, and gateway routers.
- Proton VPN on Linux: GUI, CLI & NAT-PMP Scripting – Automating headless WireGuard tunnels and dynamic port-forwarding loops with systemd.
- NordVPN vs Proton VPN (2026) – Comparing NordLynx router performance and Threat Protection against Proton’s Swiss open-source stack.
- Surfshark vs Proton VPN (2026) – Evaluating Surfshark’s unlimited device cap against Proton’s router-friendly WireGuard and NAT-PMP support.
Ready to Encrypt Your Entire Home or Lab Network?
Get Proton VPN Plus for 20,000+ global servers, instant WireGuard router config downloads, NetShield DNS blocking, and 30-day refund protection.
Get Proton VPN Plus Deal →Swiss FADP Jurisdiction • WireGuard & OpenVPN • 10 Device Connections
8. Frequently Asked Questions (FAQ)
Can I run Proton VPN on a router with the Free plan?
No, Proton VPN Free accounts cannot download WireGuard or OpenVPN router configuration files. Generating manual router profiles requires an active paid Proton VPN Plus or Proton Unlimited subscription.
How many of my 10 Proton VPN device slots does a router use?
A single Proton VPN tunnel running on your router consumes only 1 of your 10 simultaneous connection slots, regardless of how many LAN devices route through it. You can protect dozens of phones, smart TVs, and IoT sensors behind the gateway while keeping nine slots free for travel.
Should I use WireGuard or OpenVPN on my router?
Use WireGuard whenever your router firmware supports it, because WireGuard delivers 3x to 4x higher throughput and lower CPU load than OpenVPN on ARM and x86 hardware. Reserve OpenVPN only for legacy routers that lack kernel WireGuard modules.
Does Proton VPN support NetShield on router setups?
Yes, NetShield works on routers when enabled during WireGuard config generation or by appending +f1 or +f2 to your OpenVPN username. Ensure your router forwards LAN DNS requests to Proton’s internal resolver IP (10.2.0.1) rather than bypassing to your ISP.
Can I use Proton VPN’s Stealth protocol on Asuswrt-Merlin, OpenWrt, or pfSense?
No, Proton’s proprietary Stealth (WireGuard-over-TLS) protocol is currently available only inside official desktop and mobile client apps. Router deployments rely on standard WireGuard over UDP or OpenVPN over UDP/TCP.
Why do websites time out or load slowly after enabling WireGuard on my router?
Incomplete TLS handshakes over a working WireGuard tunnel are almost always caused by MTU fragmentation on PPPoE or double-NAT WAN links. Lower your WireGuard interface MTU from 1420 to 1412 or 1380 and enable MSS clamping on the VPN firewall zone.
How do I prevent my router from leaking traffic if Proton VPN disconnects?
You must configure an explicit kill switch rule in your router firewall, because WireGuard does not block WAN failover by default. Enable Block routed clients if tunnel goes down in Asuswrt-Merlin, remove WAN forwarding from the LAN zone in OpenWrt, or use NO_WAN_EGRESS floating block rules in pfSense.
Does port forwarding (NAT-PMP) work on a Proton VPN router tunnel?
Yes, you can enable NAT-PMP when generating your router config, though the router will not automatically renew the dynamic port without a helper script. To maintain an open P2P port, run a cron or systemd loop calling natpmpc -a 1 0 udp 60 -g 10.2.0.1 and natpmpc -a 1 0 tcp 60 -g 10.2.0.1 every 45 seconds.
Can I bypass Proton VPN for my gaming PC or local streaming device?
Yes, Policy-Based Routing (PBR) lets you exclude specific LAN IP addresses or VLANs from the Proton VPN tunnel. Use VPN Director on Asuswrt-Merlin, the pbr package on OpenWrt, or per-rule Gateway selection in pfSense to send chosen devices directly out the WAN.
Why is OpenVPN so much slower than WireGuard on my ASUS or OpenWrt router?
OpenVPN executes encryption in a single userspace thread on most consumer router firmwares, hitting a CPU bottleneck around 180 to 240 Mbps. Switching to kernel-space WireGuard distributes ChaCha20-Poly1305 crypto across all four CPU cores and typically triples throughput.