VPN Config Generator for Routers
12 routers × 9 protocols — download a ready-made config or enter your own data
Online VPN Config Generator for Routers
Free tool for creating ready-to-use VPN configuration files. Select your router model and protocol — get a downloadable config file in 2 minutes. Works with any VPN provider — just enter your connection details.
Supported routers and protocols
| Router | WG | OVPN | IPSec | IKEv2 | SS | OC | VLESS | TT |
|---|---|---|---|---|---|---|---|---|
| Keenetic | ✅ | ✅ | ✅ | ✅ | — | — | — | — |
| MikroTik | ✅ | ✅ | ✅ | ✅ | — | — | — | — |
| OpenWrt | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ASUS Merlin | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | — | — |
| TP-Link | ✅ | ✅ | ✅ | — | — | — | — | — |
| Xiaomi | ✅ | ✅ | ✅ | — | — | — | — | — |
| Huawei | — | — | ✅ | — | — | — | — | — |
| Netgear | — | ✅ | ✅ | — | — | — | — | — |
| pfSense/OPNsense | ✅ | ✅ | ✅ | ✅ | — | ✅ | ✅ | — |
| GL.iNet | ✅ | ✅ | — | — | ✅ | — | ✅ | ✅ |
| Ubiquiti | ✅ | ✅ | ✅ | — | — | — | — | — |
| Synology/QNAP | ✅ | ✅ | ✅ | — | — | — | — | — |
WG — WireGuard, OVPN — OpenVPN, SS — Shadowsocks, OC — OpenConnect, VLESS — VLESS+Reality, TT — TrustTunnel
How to use the generator
Enter your VPN server details (IP address and protocol parameters), select the router model and desired protocol. The generator will create a ready-to-use config file — .conf for WireGuard, .ovpn for OpenVPN, .rsc script for MikroTik, .sh script for OpenWrt, or JSON for Shadowsocks and VLESS. Download or copy the file. vpn.how customers can automatically load their server data.
Protocol descriptions
WireGuard — a modern VPN protocol with minimal codebase and high performance. Ideal for routers with limited resources. Supported by virtually all modern routers.
OpenVPN — a versatile protocol with 20+ years of history. Flexible configuration, TCP and UDP support, works on any port. Maximum router compatibility.
IPSec/L2TP — built-in support in most operating systems and routers without additional software. Simple GUI-based setup.
IKEv2 — a fast protocol with MOBIKE support (auto-switching between Wi-Fi and mobile networks). Excellent for mobile devices.
Shadowsocks — a proxy protocol for DPI bypass. Lightweight, fast, disguises traffic. Ideal for OpenWrt and ASUS Merlin.
OpenConnect — compatible with Cisco AnyConnect. Enterprise VPN protocol with DTLS support for fast data transfer.
VLESS+Reality — anti-censorship protocol based on Xray-core. TLS 1.3 with Reality technology mimics legitimate HTTPS traffic, making VPN indistinguishable from regular web browsing.
TrustTunnel — disguises VPN traffic as regular HTTPS. Supports HTTP/1.1, HTTP/2, HTTP/3 (QUIC). Maximum resistance to blocking.
Frequently Asked Questions
- Which VPN protocol is best for a router?
- For most use cases, we recommend WireGuard — it's fast, uses minimal router resources, and is easy to configure. If WireGuard is blocked, use VLESS+Reality or TrustTunnel to bypass restrictions.
- Can I use the generator without a vpn.how account?
- Yes, the generator is completely free and works without registration. Enter your VPN server details manually — IP address and protocol parameters. The config file is generated directly in your browser.
- Is it safe to enter VPN server credentials?
- Configuration generation happens entirely in your browser (JavaScript). No data is sent to the server or stored. You can verify this by checking the page source code.
- Which routers support WireGuard?
- WireGuard is supported on Keenetic (NDMS 3.3+), MikroTik (RouterOS 7.x), OpenWrt, ASUS Merlin (388+), TP-Link Archer AX series, pfSense, GL.iNet, and Ubiquiti EdgeRouter. Xiaomi and Huawei require OpenWrt firmware for WireGuard.