How to DD-WRT PPTP VPN Server Setup. This setup will bridged two routers, allowing any host connected to the network, to be visible from the WAN cloud.
The primary router is the gateway to the internet, the one who receives the IP address from the Internet Service Provider. And the second router is the DD-WRT with the VPN server. If your Internet Service Provider do not provide you a fixed IP Address. You should create a dynamic DNS account.
If your Host IP constantly changes, You can watch this video on how to create a Dynamic Domain Name System. Then return to this video to continue.
First we need to configure Client Bridged on DD-WRT. Watch this tutorial in another window or TAB, and setup a client bridged on DD-WRT. Then, return to this video to configure the PPTP VPN server.
Now with the setup. The firmware i’m using in the second router is the V24 SP2 BIG. To get your own version, Go to DD-WRT Router Database. Go to services, VPN, and enable the PPTP server, also broadcast support, and HPPE Encryption. You can leave blank DNS and WINS.
DD-WRT PPTP VPN Server Setup
In Maximum Transmission Unit, you can leave the defaults, 14 36. And assign the server IP. To avoid IP conflicts, take the next subnet available. In this case, the 2 dot 1. This because, if you give the same subnet, you have to consider the range of IPs of the DHCP server. As we can see here, the DHCP server is on the first router. and is subnet range of IPs is 1.10, to 1.20. If it was 1.200, to 1.250, and if you have the VPN server on the same range of IPs, you going to have IPs conflict.
So choose a diferente range of IPs in the same subnet, or assign a different subnet as i did here, with a range of IPs for the VPN clients. On this case 50 will be enough. So the pool is 200, to 250. And the maximum Associated clients is 50. In Authentication we going to use Chap Secrets. This means, a username and a password. Type a username, a space, an asterisk, password, space and another asterisk.
You can leave the rest options as they are, click save. And apply settings. Now we need to port forwarding. The default PPTP port is 1723. In the first router, the one who is the gateway to the internet, go to firewall, or look where says port forwarding, and forward this port to the dd-wrt router.
And then, if you did everything as i mention in this tutorial, you should have a PPTP VPN configured.
Now as a Disclaimer. PPTP has been considered insecure from a few years Now. If you going to access sensitive data, i suggest among others, IP SEC, or Open VPN.