How to set up PPTP VPN on DD-WRT Routers

In order to setup PPTP VPN on your DD-WRT router you have to flash your router with DD-WRT firmware and set router local IP address as 192.168.1.1. Also please, check if you can connect to Internet via Wi-Fi from DD-WRT router. We also recommend checking VPN on your PC/Mac to ensure that your network configuration and ISP allow PPTP VPN connections.

Connect to your router. For that you have to put in your browser the following address: http://192.168.1.1. Also you have to set your network connection to obtain IP address automatically if you connect to your router via Ethernet.

There are two different ways to set up PPTP VPN on a DD-WRT router. Please choose if you want to set up PPTP using a script or without using a script.

  1. Go to “Setup” tab and then select “Basic Setup” (1).

    Select PPTP (2) from the “Connection Type” drop down menu.

    In the “Gateway (PPTP server)” (3) type IP address of the CactusVPN server you want to connect to. You can find all the available servers in the package details in the Client area.

    In the “Username” (4) and “Passwords” (5) fields enter your VPN username and password. Make sure you use your VPN username and password and NOT the client area credentials (What is the difference?).

    Select “Yes” (6) next to “Use DHCP”.

    Set “MPPE Encryption” (7) and “Packet Reordering” (8) to “Enabled”. On some versions of DD-WRT there is also “PPTP encryption”, set it as well to “Enabled”.

    Set “Dual-Access mode” (9) and “Receive IPTV” (10) to “No”.

    In the “Optional Settings” zone change MTU to “Manual” (11) and type the value 1460 (12) in the field and set “STP” as “Disabled” (13).

    In the “Network setup” enter the IP address for the DD-WRT access point (14). Important, if this is the second router then you must set a different Local IP address then your main router.

    Select “DHCP Server” (15) next to “DHCP Type”.

    “Enable” DHCP server (16).

    Make sure all other settings looks like in our screenshot.

    Click on “Apply settings” (17).

    DD-WRT Router PPTP VPN Setup: Step 1

  2. Now go to the “Security” tab (17) and select “Firewall” (18). Here, set “SPI Firewall” to “Disable” (19).

    DD-WRT Router PPTP VPN Setup: Step 2

  3. Go to “VPN Passthrough” (20) and select “Enabled” (21) next to “PPTP Passthrough”. Click on “Apply settings” (22).

    DD-WRT Router PPTP VPN Setup: Step 3

  4. Go to “Administration” tab (23). Scroll down and click on “Reboot router” button (24). This will reboot your router.

    DD-WRT Router PPTP VPN Setup: Step 4

  1. Go to “Setup” -> “Basic Setup” (1).

    DD-WRT Router PPTP VPN Setup: Step 1

  2. Scroll down to “Network Address Server Settings (DHCP)” (2) and Enable DHCP (3).
    Change Static DNS 1 (4) to: 8.8.8.8
    Change Static DNS 2 (5) to: 8.8.4.4
    Disable “Use DNSMasq for DNS” (6).

    DD-WRT Router PPTP VPN Setup: Step 2

  3. Go to “Security” tab (7) -> “Firewall” (8) set “Disable” for “SPI Firewall” (9).

    DD-WRT Router PPTP VPN Setup: Step 3

  4. Now go to “VPN Passthrough” tab (10) and select “Enable” for “PPTP Passthrough” (11) then click on “Apply settings” (12).

    DD-WRT Router PPTP VPN Setup: Step 4

  5. Go to your client area, click on your package then click on “Script for setting up PPTP on a DD-WRT router” link and copy all the text from new page that will open.

  6. Get back to DD-WRT and navigate to “Administration” (13) -> “Commands” (14) and paste the code from clipboard (15).

    DD-WRT Router PPTP VPN Setup: Step 5

  7. Scroll down and click “Save Startup”.

  8. Go to “Administration” -> “Management” tab, on the bottom of the page you will find “Reboot router” button and click on it.

  9. After router reboot go to “Administration” (13) -> “Commands” (14).
    Type: /tmp/cactusvpn/vpn start IP.ADD.RE.SS then click “Run Commands”.
    Replace “IP.ADD.RE.SS” with the IP of the server you want to connect to. You can find all the available servers in the package details in the Client area.

    DD-WRT Router PPTP VPN Setup: Step 6

  10. Go to cactusvpn.com and check if your IP address has been changed.

After the reboot VPN is set up. You can check the connection going to “Status” tab and select “WAN” from there. Login status should be “Connected”. If it says “Disconnected” click on “Connect” button and wait for about 1 minute. After that the connection should be established. You can check if you are connected to a VPN server by going to www.whatismyip.com and see if your IP is changed.