Step 1
Download your preferred VPN location on this page: https://intercom.help/privatevpn/en/articles/6419539-openvpn-configuration-files-tcp-443
for this guide, we will select a Sweden-based server.
Step 2
Login to router web panel (default IP: 192.168.1.1).
Step 3
Proceed to System menu then select Software.
Step 4
Click on Update list... then download and install the following packages:
luci-app-openvpn
openvpn-openssl
Step 5
Proceed to VPN menu and then select OpenVPN.
Step 6
Click Browse button under OVPN configuration file upload.
Select the configuration file that you have downloaded (from Step 1). Click Open.
Step 7
Enter Instance name (ex. PrivateVPN) then click on Upload.
Step 8
Click Edit button.
Enter your PrivateVPN registered email address and password under Section to add an optional 'auth-user-pass' file with your credentials (/etc/openvpn/PrivateVPN.auth).
Click on Save.
NOTE: Some OpenWRT versions may require you to replace auth-user-pass to auth-user-pass /etc/openvpn/PrivateVPN.auth in the OpenVPN configuration.
Click Save & Apply.
Step 9
Go to Network menu then choose Interfaces.
Click on Add new interface...
Enter the following:
Name: PrivateVPN
Protocol: Unmanaged
Device (custom): tun0
Click Create interface.
Go to Firewall Settings tab. Create a new custom firewall. Enter the name: vpn_fw
Click Save.
Click Save & Apply.
Step 10
Go to Network menu then select Firewall.
Edit vpn_fw settings.
Enter the following settings:
Input: reject
Output: accept
Forward: reject
Tick Masquerading.
Tick MSS clamping.
Covered networks: PrivateVPN
Allow forward from source zones: LAN
Click Save.
Click Save & Apply.
Step 11
Tick Enabled and Start button at the OpenVPN page to connect.
Connection Success!