Cookies and privacy

Necessary cookies support the portal. External analytics and ad measurement start only with your consent. You can accept, reject optional tools or choose categories.

Tools: Google Analytics 4, Google Ads.

Privacy policy
Skip to content
Theme
Choose a plan
Guide

L2TP/IPsec on DD-WRT - setup guide

Updated 3 November 2026 · Applies to: DD-WRT · L2TP/IPsec

How to set up L2TP/IPsec on DD-WRT: required credentials, client settings and checking your VPNonline connection.

Earlier interface screenshots

The app may look different. Obtain hosts, files, certificates and keys from the current account. Older screens do not confirm that a firmware release or protocol is supported by the current service.

Before you start

  • An active service and access to your customer account.
  • The VPN username and connection password from your account - these may differ from your website sign-in.
  • The current server, profile and any PSK from the matching protocol section in your account. Do not copy example passwords or hosts from screenshots.

Open connection settings

Client settings

  1. Step 1: In the first step, login to your router, launch a browser and type the default IP…

    In the first step, login to your router, launch a browser and type the default IP address of the router: http://192.168.1.1 Go to "Setup" (1) and choose "Basic Setup" (2) tab In the "Connection Type" field, choose "L2TP" (3) connection In the "Gateway (L2TP Server)" (4) field, type the name of one of the VPNonline server In the customer panel you will find the available vpn servers: /en/account In the "Username" (5) field, type your User Name In the "Password" (6) field, type your VPN password In the "Require CHAP" (7) field, select "Yes" In the "Refuse PAP" (8) field, select "Yes" In the "Require Authentication" (9) field, select "Yes" In the "Connection Strategy:" field, select "Keep Alive: Redial Period: 30 Sec" (10) Go to "Network Address Server Settings (DHCP)" section: In the "Static DNS" (11) field, type: 208.67.222.222 In the "Static DNS" (12) field, type: 208.67.220.220 Uncheck the box: "Use DNSMasq for DHCP" (13) Uncheck the box: "Use DNSMasq for DNS" (14) Uncheck the box: "DHCP-Authoritative" (15) To save settings, click on "Apply Settings" (16)

    DD-WRT - To save settings, click on "Apply Settings" (16)
  2. Step 2: To establish VPN session, go to the : "Status" (17) tab, next to "WAN" (18) tab and…

    To establish VPN session, go to the : "Status" (17) tab, next to "WAN" (18) tab and click "Connect (19)

    DD-WRT - To establish VPN session, go to the : "Status" (17) tab, next to "WAN" (18) tab and click "Connect (19)

Check the connection

After the client connects, open the IP checker and compare the address and country with the selected server. Also test Internet access and DNS. A Connected status alone does not prove that all application traffic uses the tunnel.

If the connection fails

Authentication failed

Check the separate VPN username, connection password and service status in your account. Never include the password in a support request.

No Internet access or a certificate error

Download a fresh profile and check the device clock, DNS and routing. Keep certificate verification enabled. Include the device model, OS version and error message in a support request, with secrets removed.

Did this help?

We only store the answer, nothing about you.

Still not working?

Write to us. We will include this article's name, so we know what you already checked.

Write to us