Tutorials

Setting Up a VPN Server on Your DD-WRT Router

vpnVPNs have been around for years and years, but they are becoming more popular as time moves forward. Encryption and security technologies are becoming increasingly important – even for home users – as the Internet becomes less and less secure. Though we like to think the best about human nature, the government, black hat hackers, and unethical employees working at an ISP can (and have) accessed people’s data as it is in transit through the public Internet.

To protect yourself online, a VPN tunnel will work wonders. By encrypting your traffic between the sending host and its ultimate destination, there is nothing an attacker can do to access you data without the encryption key.

The good news is that you can create your own VPN tunnel back to your home network with very little time and money. In fact, if your router is compatible with DD-WRT software, you can download and install if for free to take advantage of VPN technology.

To take advantage of the VPN technology on your DD-WRT router, we will give you the steps to implement a PPTP connection to your router. It’s simple to configure, simple to use, and it is even already implemented on Windows. However, there are more complex VPN tunnel configurations you can implement that add security features, such as an OpenVPN tunnel.

Creating a VPN Server on Your DD-WRT Router

The Configuration Process

  1. To start, simply open the configuration page of your DD-WRT router in a web browser. If you don’t know the IP address of your router, you can open up the command prompt and run the ipconfig command on a windows platform or the ifconfig command from a Mac of Linux platform. Look for the IP address that is labeled ‘default gateway.’DDWRT-VPN
  2. Login with your username and password and click on the Services tab to get started. Next, click on the PPTP tab and enable the PPTP server option.
  3. Now you will want to enter the IP addresses of all valid users. If you are going to be the only user, it is more secure to only enter your IP address as opposed to leaving it open for anyone to gain access. However, if you want, you can enter a range of IP addresses.
  4. Now enter username and password combinations in the CHAP-Secret textbox in the following format:

 

  • username1 * password1 *
  • username2 * password2 *

For more advanced users that have a working knowledge of network services, you also have the option of adding the credentials of a RADIUS server for authentication purposes.

Test Your Configuration

  1. If you are running Windows 7 or later versions, you can start testing your connection by opening up the Network and Sharing Center and clicking on Setup a New Connection or Network.
  2. As you browse through the configuration wizard, simply click on Connect to a Workplace and click the next button.
  3. Now click on Use My Internet Connection (VPN). Then enter the router’s IP information that we found in step 1 of the previous section. Also, enter a name for this destination.
  4. Enter in the username and password you configured for the connections. If they don’t work, be sure that you double check the format and that you entered the asterisks (*) accordingly. After a few moments, you should successfully login.

 

Further Considerations

If your router has a dynamic public IP address, you have two options. The more preferred option is to assign a name to your router that will always point to your router’s IP address. The less preferred option is to constantly check to see if the dynamic IP address leased from your ISP has changed. The second option is annoying, but hey, it works. There are even small programs and utilities that you can configure to send you an email when the IP address from your ISP has changed.

However, you can use No-IP for free dynamic DNS. If you do decide to go this route, just remember to enter the hostname of your device instead of its IP address to successfully connect to your VPN.

Renee Biana

VPN Pick brings you all the latest vpn news, reviews and discounts.

Related Articles

2 Comments

  1. Hello , I have a Nighthawk AC1900 Smart WIFI Router Model R7000
    I just downloaded the Ipvanish vpn on my iPhone and my computer . I have a friend that has told me I need to install it on my router. I am not as smart as I think I am. I have been told that no question is stupid so I am asking… can I do all of the set from my MacBook Air ? I need ALL the help I can get

    1. Hi Jane,

      You don’t “need” to install in on your router. If all you have is your iPhone and computer, running the apps directly is enough.

      Say you had many devices that you wished to run through a single VPN server, you would need to configure it on your router, this way whenever you’re connected to it, LAN or Wi-Fi, the connection would pass through the router. This way there’s no limits to how many devices can use a single IPVanish account in your home.

      Hope this helps a little to understand why some setup a VPN manually on their router. Keep in mind it’s usually much easier to change locations directly from your app instead.

Leave a Reply

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

Back to top button
Exclusive Offer: Get a 49% Discount off ExpressVPNGet This Deal
+