How to Configure VPN on a Router?
In this tutorial, you will learn about setting up a VPN router on your system. There are many best VPN routers available, but you have choose very carefully which is the best one for your own system.
Before going into details about setting up a VPN router, we will quickly describe you first what a router actually is, just in case you didn’t knew about it.
What is a Router?
A router is a networking device that is used to transfer, or one can say, put forward the packets of data that are received from a computer to another computer that is placed at another location. For a router to work effectively and efficiently, you need to have two end-points. These end-points can be two local area network connections (LANs), wide area network connections (WAN), or two separate computer systems that you can use to connect a router to. Once connected, a router uses headers and labels to forward the data packets toward the right path.
What is a Virtual Private Network (VPN)?
A Virtual Private Network (VPN) is a type of network of computers that facilitates you to share your data with other users online, while remaining anonymous. In addition to sharing files, you can also live stream your favorite online TV shows, movies, songs, games while using a VPN connection.
How a VPN Router Works?
A router is a device that joins devices and/or networks together and routes traffic between them. A VPN is configured on a router to convert it into a VPN router. By using a VPN router, you can easily tunnel the data traffic, for which your VPN service provider does not provide any VPN connection. Configuring VPN on a router means that you don’t have to configure the VPN on each of your systems within the network.
Configuring a VPN on Router for your System
Now that you have become familiar with how a VPN router works, it’s time to learn about configuring it for your own router. It’s not that difficult, but you need to be careful while configuring it for your system.
Do remember that NAT firewall settings do not necessarily work fine with the type of VPN protocol you tend to select for your system. The NAT firewall components perform rather poorly when your system is connected to a PPTP VPN, L2TP VPN, IPSec VPN etc. Therefore, you have to be considerate.
For this tutorial, we have used DD-WRT Router.
Wait! If your router does not have the DD-WRT, then you have to flash your router with DD-WRT. Be really careful when flashing your router. A slight carelessness in handling the process can ruin your device for good.
You can flash your router by using any one of the three methods mentioned below.
- By using web-based user graphic interface
- By using file transfer protocol
- By using command line operations
The real configuration process starts now.
- Plug in your ADSL wire into the WAN port of your VPN router. Plug in your computer’s cable into one of the available LAN ports of the router.
- Ensure that your VPN is fully functional. Otherwise, talk to the support team of your VPN service provider.
- Go to control panel of your VPN router and enter all the specifications provided to you by your VPN service provider. Do ensure that your WAN IP address and LAN address are correct.
- Click on ‘Setup’ tab, and then click on ‘Basic Setup’ sub tab.
- You will need to provide your hostname, domain name, router IP details, (including local IP address and Subnet Mask).
- Select your ‘Connection Type’. Usually, you will select PPTP protocol. Check if your router VPN will be using DHCP or not.
- Type-in the Gateway, Username, Password, and click ‘Apply Settings’. Click ‘Save.’
- Click on the ‘Status’ tab. Click on WAN sub-tab.
- Check the ‘Login’ status. Click ‘Connect.’
There you go! You have now configured your VPN router. You’re good to go now.