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 Cisco IOS - setup guide

Updated 3 November 2026 · Applies to: Cisco IOS · L2TP/IPsec

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

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

Prepare Cisco IOS

The original article supplied a whole-router configuration for an old IOS release. Do not replace your current device configuration with that example. L2TP/IPsec support and algorithms depend on the IOS image and licence.

  1. Step 1: Collect the connection parameters

    Check L2TP/IPsec availability in your account. Obtain the server, VPN username, password and current pre-shared key. Do not use values from the historical example.

  2. Step 2: Match the configuration to the device

    Back up the configuration first. Configure the client using the documentation for your IOS release and the service parameters. Preserve the firewall, AAA and PPP authentication. Do not enable source routing or obsolete algorithms to reproduce the old example.

Need help with a specific model?

Send support the device model, IOS version and error message, with secrets removed. These details are needed to choose an appropriate configuration.

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