Skip to main content
All CollectionsRouter Setup GuidesOpenWRT
WireGuard Setup Guide for OpenWRT
WireGuard Setup Guide for OpenWRT
Richard avatar
Written by Richard
Updated over 2 years ago

Step 1

Login to website client page: https://privatevpn.com/account/login


Step 2

Proceed to Control Panel: https://privatevpn.com/control-panel


Step 3

Select your preferred VPN location under WireGuard config.


for this guide, we will select a Sweden-based server. Click Generate Config.


Step 4

The WireGuard login will be generated below. Take note of the details.


Step 5

Login to router web panel (default IP: 192.168.1.1).


Step 6

Proceed to System menu then select Software.


Step 7

Click on Update list... then download and install the WireGuard client: luci-app-wireguard

*you may need to restart the router to apply the changes.


Step 8

Proceed to Network menu and then select Interfaces.


Step 9

Click Add new interface...


Step 10

Enter the following settings:

Name: PrivateVPN

Protocol: WireGuard VPN

Click Create interface.


Private Key: (your WireGuard PrivateKey)

*refer to Step 4

Listen Port: (leave it blank)

IP Addresses: (your WireGuard Address)

Go to Firewall Settings tab.


Create/Assign firewall-zone: WAN

Then go to Peers tab.


Click Add peer button then enter the following:

Description: (any name would do)

Public Key: (your WireGuard PublicKey)

Pre-shared key: (leave it blank)

Allowed IPs: (your WireGuard AllowedIPs)

Enable Route Allowed IPs.

Endpoint Host: (your WireGuard Endpoint server address)

Endpoint Port: (your WireGuard Endpoint port)

Persistent Keep Alive: (leave it blank)

Click Save button.


Step 11

Click Save & Apply.


Connection Success!

Did this answer your question?