We use cookies to personalize your experience on our websites. By using our website, you agree to the use of cookies as described in our Cookies Policy

Your IP: 54.226.73.255
Your Location: United States, Ashburn
Your Status: Unprotected
Protect Me

OpenVPN Client Setup

for OpenWrt Chaos Calmer 15.05.1 on ASUS RT-N16 using LuCI Web Interface

This tutorial guide will take you through the detailed steps to set up an OpenVPN Client for OpenWrt Chaos Calmer 15.05.1, on the example of Asus RT-N16, using LuCI Web Interface.

The very first step to take in configuring your router to work with our service is creating manual configuration files. In this regard, please follow a few simple steps described in our tutorial. Open the generated configuration file with any text editor. Here, create text files – ca.key, cert.key, key.key, and 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

Open your router’s web-interface.

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:

ParameterSettings
port1194
nobindchecked
devtun
dev_typetun
comp-lzono
keepalive5 30
ping 30
ping_exit 120
persist-tunchecked
persist-keychecked
ifconfigleave 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:

ParameterSettings
portchecked
remote Specify a server name from the created configuration set
remote-randomchecked
dev_typeudp
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.

ParameterValue 1
authSHA512
remoteAES-256-CBC
keysize128
tls_cipherTLS-RSA-WITH-AES-128-CBC-SHA or higher
ns-cert-typeserver
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

Well done!

Now you have a running OpenVPN connection on your router - OpenVPN Client Setup

That’s about it! Now you have a running OpenVPN connection on your router.

OpenWRT factory reset

Sometimes, there is a 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

If you have other questions, comments, or suggestions regarding our service, please contact our customer support at [email protected].