How to Setup L2TP VPN on DD-WRT

Important! By setting up a L2TP VPN connection on a DD-WRT router your IP will be changed but your traffic will NOT be encrypted. That happens because the connection does not use IPSec.

In order to setup L2TP 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-Ffi from this router. We also recommend to check VPN on your PC/Mac to ensure that your network configuration and ISP allow L2TP/IPsec connections.

Important: L2TP can NOT be used concurrently with PPPoE or Static IP if you use DD-WRT flashed router as main router. We recommend you to use DD-WRT flashed router as the second one.

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.

Configure your DD-WRT router to share your regular internet connection.

  1. Go to “Setup” tab and then select “Basic Setup” (1).
    Select L2TP (2) from the “Connection Type” drop down menu.
    In the “Gateway (PPTP server)” (3) type IP address or hostname of the TorGuard VPN 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.
    Select “Yes” (6) next to “Use DHCP”.
    In the “Optional Settings” zone change MTU to “Manual” (7) and type the value 1460 (8) in the field and set “STP” (9) as “Disabled”.
    In the “Network setup” enter the IP address for the DD-WRT access point (10). Important, if this is the second router then you must set a different Local IP address then your main router.
    Select “DHCP Server” next to “DHCP Type” (11).
    “Enable” DHCP server (12).
    Make sure all other settings looks like in our screenshot.
    Click on “Apply settings” (13).
    DD-WRT-L2TP-VPN-1.png
  2. Now go to the “Security” tab (14) and select “Firewall” (15). Here, set “SPI Firewall” to “Disable” (16).
    DD-WRT-L2TP-VPN-2.png
  3. Go to “VPN Passthrough” (17) and select “Enabled” next to “L2TP Passthrough” (18). Click on “Apply settings” (19).
    DD-WRT-L2TP-VPN-3.png
  4. Go to “Administration” tab (20). Scroll down and click on “Reboot router” button (21). This will reboot your router.
    DD-WRT-L2TP-VPN-4.png

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 Whats My IP and see if your IP is changed.

Was this answer helpful? 10 Users Found This Useful (148 Votes)