L2TP DD-WRT Router

DD-WRT L2TP/IPsec Manual Installation

How to setup L2TP VPN connection on DD-WRT Router?

1 Note: We presume that you have already flashed your router with DD-WRT firmware according to your router hardware version:

1) Open a web browser and type an address "192.168.1.1" (by default for DD-WRT router). Here we have changed it to "192.168.2.1" because ADSL/Broadband main/first router is using "192.168.1.1" address. Both routers must be in different subnets.

2) Go to "Setup" section and click on "Basic Setup".

L2TP VPN connection on DD-WRT Router - Step 1
2 On "Connection type" select "L2TP". In the "Gateway (L2TP Server)" field enter the IP address/server name of the server you want to connect to. In the "Username" and "Password" field enter your VPN account details that you received via rapidvpn:

L2TP VPN connection on DD-WRT Router - Step 2

Note: To see your server IP address, login here with your username and password.
3 Below at "Optional Settings" change "MTU" to "Auto" and enter 1460 as value. Enter an IP address for the DD-WRT access point, if this is the second router then you must set a different Local IP address then your main router:

L2TP VPN connection on DD-WRT Router - Step 3
4 Enable "DHCP Server", set google DNS (or OpenDNS) server addresses and make sure all 3 boxes are NOT checked:

"Use DNSMasq for DNCP"
"Use DNSMasq for DNS"
"DHCP-Authoritative"

Click on "Apply settings":

L2TP VPN connection on DD-WRT Router - Step 4
5 Go to "Security" tab, "Firewall" and set "Disable" for "SPI Firewall":

L2TP VPN connection on DD-WRT Router - Step 5
6 Now go to "VPN Passthrough" tab and select "Enable" for "L2TP Passthrough", then click on "Apply settings":

L2TP VPN connection on DD-WRT Router - Step 6
7 Go to "Administration" tab, on the bottom of the page you will find "Reboot router" button – click it. After router reboots it should connect to VPN automatically:

L2TP VPN connection on DD-WRT Router - Step 7
8 To check the connection status, go to "Status" then click on "WAN" tab. If next to "Login status" is written "Connected" then connection is set up successfully. If not click to connect wait for about 30 seconds and check if your WAN IP has been changed:

L2TP VPN connection on DD-WRT Router - Step 8