← All Setup Guides/Routers/OpenWRT
📡 Whole-Home VPN • WireGuard & OpenVPN • OpenWRT / GL.iNet

How to Setup WorldVPN on OpenWRT Router

Protect every device on your Wi-Fi at once using WireGuard (fastest on routers — 1-click .conf import in LuCI!) or OpenVPN.

⚡
Best on RoutersWireGuard (3×–5× faster than OpenVPN)
📡
Also Works OnGL.iNet (Upload .conf directly!)
🛡
Whole NetworkCovers TVs, consoles & IoT
Choose Router Protocol
1

Install WireGuard Packages on OpenWRT

In LuCI go to System → Software (or SSH into your router) and install luci-proto-wireguard and wireguard-tools, then reboot the router.

Router SSH — Install WireGuard
opkg update && opkg install luci-proto-wireguard wireguard-tools && reboot
2

Create WireGuard Interface & Import .conf

Download your .conf file from /client/wireguard. In LuCI go to Network → Interfaces → Add new interface, Name wg0, Protocol WireGuard VPN, then click Load configuration... and paste your .conf contents!

OpenWRT LuCI — Network → Interfaces
Name:wg0
Protocol:WireGuard VPN
Load configuration... (Import .conf)1-Click
3

Enable "Route Allowed IPs" on Peer

Open the Peers tab inside wg0, click Edit on the imported WorldVPN peer, check Route Allowed IPs (so 0.0.0.0/0 routes through WorldVPN), and set Persistent Keep Alive to 25.

LuCI — WireGuard Peer
☑ Route Allowed IPs (0.0.0.0/0)ONCheck
Persistent Keep Alive:25
4

Assign Firewall Zone (WAN) & Save

Go to Firewall Settings tab on wg0 → assign it to the wan firewall zone (with Masquerading enabled) → click Save & Apply → restart wg0. Your entire Wi-Fi is now on WorldVPN!

● LuCI — wg0 Active
wg0 (wan zone)
Save & Apply → Connected!
Active ✓
1

Install OpenVPN Packages

SSH into your OpenWRT router (or use LuCI Software) and install OpenVPN + LuCI UI.

Router SSH — Install OpenVPN
opkg update && opkg install openvpn-openssl luci-app-openvpn
2

Upload .ovpn Profile in LuCI

Download & unzip your server's .ovpn from /client/servers. In LuCI go to VPN → OpenVPN, enter Instance name worldvpn, and upload the .ovpn file.

LuCI — VPN → OpenVPN
Upload .ovpn configurationUploadClick
3

Add VPN Username & Password

Click Edit on your worldvpn instance, enter your VPN Username on line 1 and VPN Password on line 2 of the credentials box, and add auth-user-pass /etc/openvpn/worldvpn.auth inside the config.

/etc/openvpn/worldvpn.auth
Line 1:your_vpn_username
Line 2:your_vpn_password
4

Add tun0 Firewall Zone & Start

Create an Unmanaged interface for tun0 in the wan firewall zone (Masquerading ON), then check Enabled and click Start on your OpenVPN instance!

● OpenVPN — Running
worldvpn (tun0)Started ✓
💡 Need VPN Credentials to Connect?

Unlock unlimited speed across 200+ global servers from just $1.12/month (3-Year Deal) or $1.99/month pay-as-you-go — or test free for 24 hours!

🔥 Get 3 Years ($1.12/mo) → 🚀 1 Month ($1.99) → 🆓 Free 24h Trial
Unlimited VPN from $1/mo or $9/yr on Telegram
1