Prerequisites
Setup Instructions
Generate Your WireGuard Config
Log in to your LookerVPN dashboard and generate a router configuration.
- Go to your LookerVPN account dashboard
- In the WireGuard Configuration section, select Router as your device type
- Choose your preferred server location
- Click Generate Config
- Keep this page open—you'll need the configuration values for the next steps
Tip: The router config shows individual values (Address, Private Key, etc.) that you can copy directly into OpenWRT's interface.
Access OpenWRT Admin Panel
Open your router's LuCI web interface.
- Open your web browser and navigate to your router's IP address (usually
192.168.1.1) - Log in with your OpenWRT admin credentials
- You should see the LuCI web interface
Note: If you can't access the admin panel, make sure you're connected to your router's network and using the correct IP address.
Install WireGuard Packages
Install the required WireGuard packages if not already present.
OpenWRT may not have WireGuard installed by default. Follow these steps:
- Go to System → Software
- Click Update lists to refresh available packages
- In the Filter field, search for
wireguard - Install these packages:
luci-proto-wireguardwireguard-tools
- Wait for installation to complete, then reboot your router
Or via SSH:
Create WireGuard Interface
Add a new WireGuard interface for the VPN connection.
- Go to Network → Interfaces
- Click Add new interface
- Configure the new interface:
- Name:
wg0(or any name you prefer) - Protocol: Select
WireGuard VPN
- Name:
- Click Create interface
Configure Interface Settings
Enter your LookerVPN WireGuard configuration values.
In the interface configuration screen, enter these values from your LookerVPN config:
| Field | Value |
|---|---|
| Private Key | Copy from your LookerVPN config |
| IP Addresses | 10.x.x.x/32 (from Address field) |
Important: The IP address from your config is in CIDR format (e.g., 10.66.77.88/32). Make sure to include the /32 suffix.
Add Peer (LookerVPN Server)
Configure the LookerVPN server as a WireGuard peer.
- In the interface settings, go to the Peers tab
- Click Add peer
- Enter these values from your LookerVPN config:
| Field | Value |
|---|---|
| Description | LookerVPN |
| Public Key | Copy server public key from config |
| Endpoint Host | Server IP from Endpoint field |
| Endpoint Port | 51820 |
| Allowed IPs | 0.0.0.0/0 (routes all traffic through VPN) |
| Persistent Keep Alive | 25 |
Important: Make sure Route Allowed IPs is checked. This ensures traffic is routed through the VPN tunnel.
Configure Firewall Zone
Set up firewall rules for the VPN interface.
- Still in the interface settings, go to the Firewall Settings tab
- For Create / Assign firewall-zone, select
wan(or create a new zone called "vpn") - Click Save
For additional security (kill switch), go to Network → Firewall → General Settings:
- Find the wan zone (or your vpn zone)
- Ensure Input is set to
reject - Ensure Forward is set to
reject
Kill Switch: These firewall settings will block internet access if the VPN disconnects, preventing data leaks.
Configure DNS
Set up DNS to use LookerVPN DNS servers.
- Go to Network → Interfaces
- Edit the WAN interface
- In Advanced Settings, check Use DNS servers advertised by peer OR manually set DNS:
- Primary:
10.64.0.1(LookerVPN DNS)
- Primary:
- Click Save
Alternatively, configure DNS in Network → DHCP and DNS:
- In DNS forwardings, add
10.64.0.1 - Uncheck Rebind protection if you have issues
Save and Apply
Activate your VPN connection.
- Click Save & Apply on any pending changes
- Go to Network → Interfaces
- Find your WireGuard interface (wg0) and click Connect (or restart the interface)
- Wait a few seconds for the connection to establish
Success! Your WireGuard interface should now show as "Connected" with a green status indicator.
Test Your Connection
Verify the VPN is working correctly.
- On a device connected to your router, visit whatismyipaddress.com
- Your IP should show a LookerVPN server location, not your ISP
- Visit dnsleaktest.com to verify DNS is not leaking
Tip: If the connection isn't working, check Status → System Log in OpenWRT for error messages related to WireGuard.
Troubleshooting
Common issues and solutions
Need Help?
If you're stuck or have questions about setting up OpenWRT, our support team is here to help.
Using a Different Router?
Check our guides for other router platforms