TruVoIPBuzz Logo

Your ultimate VoIP resource…

How-to Set up your own VPN Server on ASUS Wireless Routers? [Tutorial]

By Alok Saboo on October 7th, 2012

I was recently on the market for a wireless router that could handle my high speed broadband connection (upwards of 30Mbps). After a lot of searching, I finally bought bought the ASUS RT-N66U wireless router and have been extremely happy with it. If you are looking for a wireless router, I will very strongly recommend this router. One of the features that got me excited was the the ability to set up a VPN server to safely browse the Internet over public WiFi. I am using an ASUS RT-N66U, but you should be able to follow the tutorial on most ASUS routers (e.g., RT-N16, RT-N65U, RT-N56U, RT-AC66U) or ADSL modem routers (e.g., DSL-N55U).

Why do you need a VPN Server?

SecurityRecent WiFi snooping attacks (e.g., Firesheep) have demonstrated that your data may not be secure especially when it travels over unsecured networks – such as one at Starbucks or other public wifi hotspots. Since most of the public wireless networks are completely unencrypted, our recent post on securing mobile data suggested using VPN tunnel to route your data through secure private networks. VPN tunnels give you the security of private networks even when you are on unsecured public networks. 

Commercial VPN solutions charge around $5 per month. However, if you have a broadband internet connection and a capable router, you can set up your own VPN tunnel – just follow along.

Getting Started…

I am assuming that you have already completed the basic configurations on your ASUS device. Just go to the VPN Server tab (under Advanced Settings) and enable PPTP Server (you can also enable Samba support if you want to access local shares). Also, enter the username and password for your VPN account.

Configure VPN server on ASUS router

If your ISP does not provide you with a static IP, you can use a DDNS (Dynamic DNS) service that maps your dynamic IP address to a domain name. I am using ASUS’s own DDNS service, but you are welcome to use any other such service (e.g., DynDNS, Tzo, ZoneEdit, DNSOMatic, TunnelBroker, No-IP).

Configure DDNS on ASUS wirelesss router

Next, fine tune VPN server configurations by specifying the authentication and encryption methods, IP address range, and broadcast support. Here are the settings that I am using:

Configure VPN on ASUS wirelesss router

These settings should work for most of us. However, sometimes the DNS resolution does not work over the VPN, i.e., you will be able to connect to the VPN but may not be able to browse the Internet. In such cases, you need to manually enter the DNS servers under VPN details. You can use any DNS provider – I am using Google Public DNS.

Configure VPN on ASUS wirelesss router with Google DNS

Congratulations!! Your VPN server is now ready to be used.

Let’s Test!!

On your iOS device (iPhone, iPad, or iPod), add a VPN configuration under Settings > General > Network > VPN (see screenshot below). You can enter your static IP address or the DDNS that you configured earlier.

Add VPN Configuration on iPhone

To demonstrate that the VPN server is indeed working, let us check the public IP address with and without VPN.

IP address without VPN

Without VPN

IP address with VPN

 With VPN

On your Android device, you do the similar setup under Settings > Wireless & Networks > Add VPN Network.

Final Thoughts

There you have it…now you can secure all your data even on a public network for FREE. I have been extremely happy with this setup. Now I can safely browse even on a public network.

Please note that since all the traffic will be routed through your home network, i.e., one additional hoop, and the encryption overheads, your speeds will be lower on the VPN than without it. Finally, this solution is recommended only if your ASUS router is connected to a broadband connection.

© 2014 TruVoIPBuzz All rights reserved | Please refer our Privacy Policy and Terms of Use.

PHVsPjxsaT48c3Ryb25nPndvb3ByYV9hbmFseXRpY3NfdGFiPC9zdHJvbmc+IC0gZGFzaGJvYXJkPC9saT48bGk+PHN0cm9uZz53b29wcmFfYXBpX2tleTwvc3Ryb25nPiAtIFE2U1QyWFRDU0c8L2xpPjxsaT48c3Ryb25nPndvb3ByYV9hdXRvX3RhZ19jb21tZW50YXRvcnM8L3N0cm9uZz4gLSBZRVM8L2xpPjxsaT48c3Ryb25nPndvb3ByYV9pZ25vcmVfYWRtaW48L3N0cm9uZz4gLSBZRVM8L2xpPjxsaT48c3Ryb25nPndvb3ByYV9zaG93X2NvbW1lbnRzPC9zdHJvbmc+IC0gTk88L2xpPjxsaT48c3Ryb25nPndvb3ByYV9zaG93X3NlYXJjaGVzPC9zdHJvbmc+IC0gWUVTPC9saT48bGk+PHN0cm9uZz53b29wcmFfdHJhY2tfYWRtaW48L3N0cm9uZz4gLSBZRVM8L2xpPjxsaT48c3Ryb25nPndvb19hYm91dF9idXR0b25fMTwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2Fib3V0X2J1dHRvbl8yPC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fYWJvdXRfaGVhZGVyPC9zdHJv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