How to Set Up VPN on DD-WRT Router: A Detailed Guide

A VPN secures your online privacy because it encrypts your traffic and channels it via secure tunnels. Thus, it hides your IP address and makes it impossible for third parties to find out what you do when you are online.

Set Up VPN on DD-WRT Router
Credit: Ahunt / Wikipedia

HideMyAss VPN is one of the most effective VPN services that you can use when browsing the internet. The service has a relatively strong server network. Also, the service has various features that are devoted to safeguarding your security when you are online. Interestingly, you may successfully use VPN on your DD-WRT Router as a means of securing the traffic of all the devices that will be connected to your Wi-Fi network. Here is a step-by-step guide on how you can set up VPN on DD-WRT Router:

Step 1: Download the VPN configuration files

You will have to into your VPN account for you to download the VPN Client files. Alternatively, you may access the files by clicking the link contained in the email address that you would have received from the service. Regardless of the method you choose, you will access the configuration files very easily. However, remember that when you use the route of having to log in to your account, you will have to move to the section that allows you to access files as an active user of the service.

Step 2: Check the configuration of the DD-WRT Router

You will have to check the configuration of the router to determine if it has the feature that allows you to use a VPN on the service. In general, your router should have the PPTP Client feature. However, if your router does not have this feature, you may have to flash it using a new version of the software to successfully install this feature. You can check whether this feature is included on your router by navigating to the configuration pages.

Step 3: Turn on the PPTP VPN server on your router

For you to turn on the PPTP VPN Server, you will have to navigate to the tab for Services. Once you open the tab, you will see an option that allows you to enable or disable the VPN. Once you get here, you will have to select the option for enabling the PPTP Server.

Step 4: Configure the hidden options for the PPTP VPN Server

When you enable the PPTP Server, you will see that several options that were previously invisible will appear. The options are as follows: the Server IP, the Client IPs and the CHAP-Secrets.

At this stage of the process, you will have to configure these options as follows.

  • For the Server IP, use the public IP address of your router.
  • Client IPs, use all the local IPs that you will use for the clients who will be using your network.
  • For the CHAP-Secrets, use the name and password for your VPN authentication.

How to set up VPN on DD-WRT Router if it has the user pass authentication feature

It is still easy to successfully configure a router that has the user pass authentication feature. The only highly technical part is making sure that you get all the details right.

How to configure your DD-WRT Router if it lacks the user pass authentication feature

Some older versions of the router lack user pass authentication feature. However, you can still manoeuvre your way and successfully configure the router to your desired specifications.

You will have to enter a special command in the small dialogue box titled Additional Config. Here is the command that you will have to enter:

auth-user pass /tmp/auth.text

you will see another box asking you for the Server IP/Name. Here, you will have to enter the address of the VPN server that you would like to use when connecting to the internet via your account. Remember that VPN has servers in various countries; you will have to select the server whose location best suits your needs. All these details are included in the configuration files that you will download from the VPN website. They are contained in a special file called VPN config.

Step 5: Configure the VPN keys and certificates

At this stage of the process, you will have to do copy and paste actions to successfully configure the VPN keys and certificates.

  • First, you copy the text that you see between special tls authentication blocks and then paste it in the special field that is marked TLS Authentication. A screenshot for what you should have at this stage is shown below.
  • Second, copy all the text that you see in-between the following special blocks, ca. Similarly, you will have to paste the text in the special field marked CA Cert. The following image shows what you should have at this stage of the process.
  • Third, copy all the text that appears between the special blocks marked cert into the Public Client Cert field. The following screenshot shows what you should have at this stage.

Step 6: Complete the configuration process

This is the last step of configuring your router. At this stage, you will have to click on the option for Apply Settings to make sure that the settings are activated on your router.

Step 7: Check the VPN connectivity of your router

It is common for your router to fail to connect to the VPN server for the first time immediately after installation and configuration. However, this should not be a problem. Often, retrying the connectivity two or three times resolves the issue.

The following screenshot shows what you should have when you DD-WRT Router is connected to the VPN server that you would have selected.

Step 8: Setting up the static DNS on your DD-WRT Router

This is largely an optional step in the process. However, you may include it if you would wish to use a static DNS on your router. Here is what you will have to do to achieve this objective.

  • Go to the Network Address Server Setting (DHCP) section of the settings of your router. This section is under the Basic Setting section of the Settings menu of your router.
  • When you get to this section, you will have to set the following: Static DNS1, Static DNS2 and Static DNS3. At this stage, you may use the Google DNS, Neustar DNS Advantage DNS and the Norton Connect Safe DNS to configure your DNS1, DNS2 and DNS3. The following screenshot shows what you should expect at this stage of the process.
  • Once you have successfully used these DNS combinations, you will have to click on the option for Apply Settings for the new settings to take effect.

In conclusion, you can use this process to successfully set up VPN on DD-WRT Router. The process of setting up the VPN on the router involves several highly technical steps. You will have to be careful with how you manage these steps to get the expected results.

Leave a Reply

Your email address will not be published. Required fields are marked *