OpenVPN® Client Setup for OpenWrt Chaos Calmer 15.05.1 on ASUS RT-N16 using LuCI Web Interface

 

Enforce your online security and privacy by setting up OpenVPN® client on your OpenWrt Chaos Calmer router. How? This tutorial guide will walk you through all the steps required to configure OpenVPN® client on OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16, using LuCI Web Interface.

As the result, KeepSolid VPN Unlimited® will encrypt internet traffic of all devices connected to your OpenWrt ASUS RT-N16, ensuring enhanced security online. Changing your IP address, it’ll also let you surf online without geo-blocks.

So, let’s get started with the OpenWrt configuration.

 

I. Generate OpenVPN® client settings in User Office

 

The very first step before setting up VPN on your OpenWrt Chaos Calmer router is creating manual configuration files. In this regard, please follow a few simple steps described in our tutorial.

The OpenVPN® settings you generate include the .ovpn configuration file. Open it with any text editor and create separate text files – ca.key, cert.key, key.key. There, paste the appropriate data from the configuration file.

ca.key – paste strings between <ca> and </ca>, including -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----
cert.key – paste strings between <cert> and </cert>, including -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----
key.key – paste strings between <key>; and </key>, including -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 1

II. Set up VPN on your OpenWrt Chaos Calmer router

 

Once you prepare the necessary configurations to set up OpenVPN® client, open your OpenWrt web interface. If you don’t know how to open your router web interface, check out our instruction on how to find your router IP

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 2

Go to System > Software, and open the Configuration tab.

Go to System>Software, and open the Configuration tab - OpenVPN Client Setup

Add the following string into the Distribution feeds field:

src/gz luci http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm47xx/generic/packages/luci

If you use a different model of the router, specify the appropriate path in the string

src/gz luci http://downloads.openwrt.org/$release/$version/generic/packages/luci

and click Submit.

Go to the Actions tab and click Update lists.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 4

Wait until the operation is completed.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 5

Type openvpn-openssl in the Download and install package field and click OK.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 6

Wait until the package is installed.

OpenVPN Client Setup - Type luci-app-open-vpn in the Download and install package field and click OK

Type luci-app-openvpn in the Download and install package field and click OK.

Type luci-app-open-vpn in the Download and install package field and click OK - OpenVPN Client Setup

Wait until the package is installed.

Wait until the package is installed - OpenVPN Client Setup on Asus router

Type openvpn in the Filter field and click Find package.

Make sure that both packages are installed.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 7

Optionally, you can install localization for the luci-app-openvpn package. For this purpose, open the Available packages tab, and install the desired localization package.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 8

A new item Services > OpenVPN® will appear in the upper menu. Navigate to it.

A new item Services>OpenVPN will appear in the upper menu. Navigate to it to continuum Client Setup

Type KeepSolid VPN_Unlimited in the Configuration name field, select Simple client configuration for a routed point-to-point VPN and click Add.

You will be forwarded to the configuration page.

Click Switch to advanced configuration.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 9

At the top of the page, click Switch to advanced configuration > Configuration category > Networking.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 10

If you do not see the required parameter in the Configuration tabs, select it in the dropdown menu at the bottom of the page, and click Add.

Select port in the dropdown menu and click Add.

Select keepalive in the dropdown menu and click Add.

Enter the following settings:

Parameter Settings
port 1194
nobind checked
dev tun
dev_type tun
comp-lzo no
keepalive 5 30
ping 30
ping_exit 120
persist-tun checked
persist-key checked
ifconfig leave blank (if an IP address is shown here, delete it)
Setting VPN on OpenWRT Asus router with KeepSolid VPN Unlimited. Networking settings

Click Save.

At the top of the page, navigate to Configuration category > VPN.

Set a checkbox for client.

At the bottom of the page, select proto in the dropdown menu and click Add.

Enter the following settings:

Parameter Settings
port checked
remote Specify a server name from the created configuration set
remote-random checked
dev_type udp
Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 12

Click Save.

At the top of the page, navigate to Configuration category > Cryptography.

Select ca in the dropdown menu, and click Add. Click Choose File, to the right of the ca parameter, and choose the previously created ca.key file.

OpenVPN client setup on asus router with KeepSolid VPN Unlimited. Cryptography settings.

Select cert in the dropdown menu, and click Add. Click Choose File, to the right of the cert parameter, and choose the previously created cert.key file.

Select key in the dropdown menu, and click Add. Click Choose File, to the right of the key parameter, and choose the previously created key.key file.

 

Parameter Value 1
auth SHA512
remote AES-256-CBC
keysize 128
tls_cipher TLS-RSA-WITH-AES-128-CBC-SHA or higher
ns-cert-type server
OpenVPN Client on Asus router with KeepSolid VPN Unlimited. Cryptography settings

Click Save & Apply.

Go to Network > Interfaces, and click Add new interface…

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 15

Enter the following data:

Name of the new interface: VPN_U
Protocol of the new interface: Unmanaged
Cover the following interface: Custom Interface: tun0

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 16

Then, click Submit.

Navigate to the Advanced Settings tab. Enable the checkbox for Bring up on boot, and disable it for Use built-in IPv6-management.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 17

Click Save.

Navigate to the Firewall Settings tab.

In the Create / Assign firewall-zone - unspecified -or- create: field, type the zone name – VPNU_FW.

Click Save & Apply.

Enable the checkbox for Bring up on boot, and disable it for Use built-in IPv6-management

Go to Network > Firewall, and click Edit to the right of VPNU_FW.

In the General Settings tab, select the following settings:

Input: reject
Output: accept
Forward: reject
Masquerading – checked
MSS clamping – checked
Covered networks – checked VPN_U

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 18

In the Inter-Zone Forwarding section, set the checkbox for Allow forward from source zones: lan.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 19

Click Save & Apply

Go to Services > OpenVPN®. Set the checkbox Enabled for VPN_Unlimited, and click Save & Apply.

Click start to the right of VPN_Unlimited.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 20

Wait for about 30 seconds to setup a connection with a VPN server.

Set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16 step 21
Now you have a running OpenVPN connection on your router - OpenVPN Client Setup

That’s it! The OpenVPN® client setup on your OpenWrt ASUS RT-N16 is complete and you have a running VPN connection on your router.

OpenWrt factory reset on Chaos Calmer router

 

In some cases you may need to perform a factory reset on your router.

In short, if you can telnet/ SSH to it, do that as a privileged user, and type the following:

mount_rootmtd -r erase rootfs_datareboot -f
OpenWRT factory reset - KeepSolid VPN Unlimited

The OpenWrt factory reset is now complete. 

 

Install OpenVPN® client on your router using our guide to cover it with unmatched VPN protection. Need to configure other devices? Check our Manuals page to find the guide you need.

If you have other questions or comments, don’t hesitate to contact our customer support at [email protected].

“OpenVPN” is a registered trademark of OpenVPN Inc.