{"id":32711,"date":"2025-10-15T03:23:50","date_gmt":"2025-10-15T10:23:50","guid":{"rendered":"https:\/\/www.privateinternetaccess.com\/blog\/?p=32711"},"modified":"2026-10-02T00:54:29","modified_gmt":"2026-10-02T07:54:29","slug":"l2tp-vpn","status":"publish","type":"post","link":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/","title":{"rendered":"What Is an L2TP VPN and Is It Still Safe to Use?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Layer 2 Tunneling Protocol (L2TP) has been around for decades, so you may still see it in older devices or network settings. It\u2019s a tunneling protocol that moves your data between your device and a VPN server, but it doesn\u2019t encrypt that data on its own.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, how does L2TP work, and is it still safe to use today?<\/p>\n\n\n<div class=\"pia-toc-block wp-block-privacynews-toc-pia\"><div class=\"pia-toc\" data-pia-toc><div class=\"pia-toc-header\"><div class=\"pia-toc-title\"><svg width=\"15\" height=\"15\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><line x1=\"8\" y1=\"6\" x2=\"21\" y2=\"6\"><\/line><line x1=\"8\" y1=\"12\" x2=\"21\" y2=\"12\"><\/line><line x1=\"8\" y1=\"18\" x2=\"21\" y2=\"18\"><\/line><line x1=\"3\" y1=\"6\" x2=\"3.01\" y2=\"6\"><\/line><line x1=\"3\" y1=\"12\" x2=\"3.01\" y2=\"12\"><\/line><line x1=\"3\" y1=\"18\" x2=\"3.01\" y2=\"18\"><\/line><\/svg>Table of Contents<\/div><span class=\"pia-toc-count\">9 sections<\/span><\/div><div class=\"pia-toc-divider\"><\/div><ol><li><a href=\"#h-what-is-an-l2tp-vpn\">What Is an L2TP VPN?<svg class=\"pia-chev\" width=\"13\" height=\"13\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><polyline points=\"9 18 15 12 9 6\"><\/polyline><\/svg><\/a><\/li><li><a href=\"#hd\">How Does L2TP\/IPsec Work?<svg class=\"pia-chev\" width=\"13\" height=\"13\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><polyline points=\"9 18 15 12 9 6\"><\/polyline><\/svg><\/a><\/li><li><a href=\"#h-how-to-set-up-an-l2tp-vpn\">How to Set Up an L2TP VPN<svg class=\"pia-chev\" width=\"13\" height=\"13\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><polyline points=\"9 18 15 12 9 6\"><\/polyline><\/svg><\/a><\/li><li><a href=\"#h-fixing-common-l2tp-vpn-connection-problems\">Fixing Common L2TP VPN Connection Problems<svg class=\"pia-chev\" width=\"13\" height=\"13\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><polyline points=\"9 18 15 12 9 6\"><\/polyline><\/svg><\/a><\/li><li><a href=\"#h-benefits-of-l2tp-ipsec\">Benefits of L2TP\/IPsec<svg class=\"pia-chev\" width=\"13\" height=\"13\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><polyline points=\"9 18 15 12 9 6\"><\/polyline><\/svg><\/a><\/li><li><a href=\"#h-limitations-of-l2tp-ipsec\">Limitations of L2TP\/IPsec<svg class=\"pia-chev\" width=\"13\" height=\"13\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><polyline points=\"9 18 15 12 9 6\"><\/polyline><\/svg><\/a><\/li><li><a href=\"#wp\">Which Ports Does an L2TP VPN Use?<svg class=\"pia-chev\" width=\"13\" height=\"13\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><polyline points=\"9 18 15 12 9 6\"><\/polyline><\/svg><\/a><\/li><li><a href=\"#h-l2tp-vs-other-vpn-protocols-how-does-it-compare\">L2TP vs. Other VPN Protocols: How Does It Compare?<svg class=\"pia-chev\" width=\"13\" height=\"13\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><polyline points=\"9 18 15 12 9 6\"><\/polyline><\/svg><\/a><\/li><li><a href=\"#h-faq\">FAQ<svg class=\"pia-chev\" width=\"13\" height=\"13\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><polyline points=\"9 18 15 12 9 6\"><\/polyline><\/svg><\/a><\/li><\/ol><\/div><\/div>\n<br>\n\n<div style=\"background-color: #cfe2f3; padding: 1em; border-radius: 1em;\"><h2 id=\"h-what-is-an-l2tp-vpn\" class=\"wp-block-heading\">What Is an L2TP VPN?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L2TP creates a<\/strong> <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/what-is-a-vpn-tunnel\/\"><strong>VPN tunnel<\/strong><\/a> <strong>that carries data between your device and another point on a network, such as a VPN server.<\/strong> L2TP handles the tunneling part, but it doesn\u2019t encrypt the data on its own.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s why L2TP usually pairs with <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/ipsec-vpn\/\">Internet Protocol Security (IPsec)<\/a>, which encrypts and protects it as it travels through the tunnel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you see L2TP VPN, it usually means L2TP\/IPsec rather than L2TP by itself. The two technologies work together to create the VPN connection.<\/p><\/div>\n\n\n\n<h2 id=\"hd\" class=\"wp-block-heading\">How Does L2TP\/IPsec Work?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s how an L2TP\/IPsec connection works:<\/p>\n\n\n\n<ol style=\"font-size:18px\" class=\"wp-block-list\">\n<li><strong>IPsec sets up the secure tunnel:<\/strong> Your device contacts the VPN server. <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/internet-key-exchange\/\">Internet Key Exchange (IKE)<\/a> helps both sides agree on how to protect the connection and creates the encryption keys they\u2019ll use.<\/li>\n\n\n\n<li><strong>L2TP establishes the tunnel:<\/strong> This step sets up a tunnel between your device and the VPN server, carrying your network data using <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/pptp-vpn\/\">Point-to-Point Protocol (PPP)<\/a>, an older standard that helps transport data and can also handle things like your VPN login.<\/li>\n\n\n\n<li><strong>IPsec protects the L2TP traffic:<\/strong> L2TP wraps the data with the information needed to move it through the tunnel, and IPsec then encrypts that traffic while it travels across the network.<\/li>\n\n\n\n<li><strong>The VPN server processes and routes the traffic:<\/strong> When the data reaches the VPN server, IPsec removes its protection and L2TP removes the tunnel information. The server then sends the data to its destination.<\/li>\n<\/ol>\n\n\n\n<h3 id=\"h-is-l2tp-secure\" class=\"wp-block-heading\">Is L2TP Secure?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L2TP on its own isn\u2019t secure enough for a VPN<\/strong> <strong>because it doesn\u2019t encrypt the data traveling through the tunnel.\u00a0<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">IPsec can encrypt the traffic so other people can\u2019t read it in transit. It can also check that no one\u2019s changed the data along the way and protect against <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/prevent-replay-attacks\/\">replay attacks<\/a>, where an attacker tries to resend captured network traffic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How secure an L2TP\/IPsec connection is also depends on how it\u2019s configured.<\/strong> The encryption settings, authentication method, and key exchange all matter. For example, a weak pre-shared key can make the connection easier to attack. Some setups use certificates instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another concern is IKEv1, an older version of <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/internet-key-exchange\/\">Internet Key Exchange<\/a> used to set up IPsec connections. Some older L2TP\/IPsec deployments may still rely on it, but the Internet Engineering Task Force (IETF) deprecated IKEv1 in 2023 and recommends moving to IKEv2.\u00b9 For a new VPN setup, an up-to-date protocol is generally the better choice when your devices and network support one.<\/p>\n\n\n\n<h2 id=\"h-how-to-set-up-an-l2tp-vpn\" class=\"wp-block-heading\">How to Set Up an L2TP VPN<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can set up L2TP\/IPsec manually if your device supports it and you already have access to an L2TP\/IPsec VPN server. Here\u2019s how to do it:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"994\" style=\"margin-bottom: 15px; margin-top: 15px;\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Choose-Your-L2TP-Setup-Path-1024x994.png\" alt=\"Decision graphic showing how built-in L2TP\/IPsec support determines whether a user can configure the VPN manually or needs compatible software or another supported protocol.\" class=\"wp-image-42707\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Choose-Your-L2TP-Setup-Path-1024x994.png 1024w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Choose-Your-L2TP-Setup-Path-300x291.png 300w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Choose-Your-L2TP-Setup-Path-767x745.png 767w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Choose-Your-L2TP-Setup-Path-1536x1492.png 1536w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Choose-Your-L2TP-Setup-Path-1200x1165.png 1200w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Choose-Your-L2TP-Setup-Path.png 1800w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<h3 id=\"by\" class=\"wp-block-heading\">Before You Start: Server Details and Device Support<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before you begin, get the connection details from your VPN provider, workplace IT team, or whoever manages the VPN server. For the setups below, you\u2019ll usually need:<\/p>\n\n\n\n<ul style=\"font-size:18px\" class=\"wp-block-list\">\n<li><strong>Server address:<\/strong> The hostname or IP address of the L2TP VPN server.<\/li>\n\n\n\n<li><strong>Username and password:<\/strong> The login details for your VPN account.<\/li>\n\n\n\n<li><strong>Pre-shared key (PSK):<\/strong> A shared secret used by your device and the VPN server to authenticate the IPsec connection.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These instructions assume the server uses a pre-shared key. Some L2TP\/IPsec setups use certificates instead, so follow the settings provided by whoever manages your server. Your device also needs a compatible L2TP\/IPsec client:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr style=\"background-color: #88E47B\"><td><strong>Device<\/strong><\/td><td><strong>Built-in L2TP\/IPsec support<\/strong><\/td><\/tr><tr><td>Windows 10 and 11<\/td><td>\u2705<\/td><\/tr><tr><td>macOS<\/td><td>\u2705<\/td><\/tr><tr><td>iPhone and iPad<\/td><td>\u2705<\/td><\/tr><tr><td>Android 11 or earlier<\/td><td>\u2705<\/td><\/tr><tr><td>Android 12 or later<\/td><td>\u274c<\/td><\/tr><tr><td>Linux<\/td><td>Depends on the distribution and installed VPN software<\/td><\/tr><tr><td>Routers<\/td><td>Depends on the router model and firmware<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 id=\"h-how-to-set-up-l2tp-on-windows-10-11\" class=\"wp-block-heading\">How to Set Up L2TP on Windows 10\/11<\/h3>\n\n\n\n<ol style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Go to <em>Settings &gt; Network &amp; Internet &gt; VPN.<\/em><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa;\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-1-1024x576.png\" alt='Windows 11 Settings screen showing \u201cNetwork &amp; Internet\"' class=\"wp-image-42709\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-1-1024x576.png 1024w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-1-300x169.png 300w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-1-768x432.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-1-1536x864.png 1536w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-1-1200x675.png 1200w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-1.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<ol start=\"2\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Select <em>Add VPN.<\/em><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa;\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-2-1024x576.png\" alt=\"Windows VPN settings page with \u201cAdd VPN\u201d button highlighted.\" class=\"wp-image-42710\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-2-1024x576.png 1024w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-2-300x169.png 300w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-2-768x432.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-2-1536x864.png 1536w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-2-1200x675.png 1200w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-2.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<ol start=\"3\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Enter the connection details:\n<ol type=\"a\" class=\"wp-block-list\">\n\n<li><strong>VPN provider:<\/strong> Windows (built-in)<\/li>\n\n\n<li><strong>VPN type:<\/strong> L2TP\/IPsec with pre-shared key<\/li>\n\n\n<li><strong>Server name\/address, username, password, and shared key:<\/strong> All details you get from your VPN provider.<\/li>\n\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<ol start=\"4\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Click <em>Save,<\/em> then select the new profile and click <em>Connect.<\/em><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"545\" height=\"1024\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa; width:465px;height:auto\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-3-545x1024.png\" alt=\"Windows VPN setup form showing provider dropdown set to \u201cWindows (built-in)\u201d and VPN type \u201cL2TP\/IPsec with pre-shared key\" class=\"wp-image-42711\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-3-545x1024.png 545w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-3-160x300.png 160w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-3.png 576w\" sizes=\"auto, (max-width: 545px) 85vw, 545px\" \/><\/figure>\n<\/div>\n\n\n<h3 id=\"h-how-to-set-up-l2tp-on-macos\" class=\"wp-block-heading\">How to Set Up L2TP on macOS<\/h3>\n\n\n\n<ol style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Open System <em>Settings &gt; Network.<\/em><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa;\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-4-1-1024x576.png\" alt=\"Mac desktop with Apple menu open, highlighting \u201cSystem Settings.\" class=\"wp-image-42712\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-4-1-1024x576.png 1024w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-4-1-300x169.png 300w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-4-1-768x432.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-4-1-1200x675.png 1200w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-4-1-1536x864.png 1536w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-4-1.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<ol start=\"2\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Click the <em>Action<\/em> menu at the bottom of the sidebar, then choose <em>Add VPN Configuration &gt; L2TP over IPsec.<\/em><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"756\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa;\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-5-1-1024x756.png\" alt=\"\" class=\"wp-image-42713\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-5-1-1024x756.png 1024w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-5-1-300x221.png 300w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-5-1-767x566.png 767w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-5-1-1536x1133.png 1536w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-5-1-2048x1511.png 2048w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-5-1-1200x885.png 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<ol start=\"3\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Enter your connection details, including:\n<ol type=\"a\" class=\"wp-block-list\">\n\n<li><strong>Display Name:<\/strong> Choose a name for the VPN connection.<\/li>\n\n\n<li><strong>Server Address:<\/strong> Enter the VPN server hostname or IP address.<\/li>\n\n\n<li><strong>Account Name:<\/strong> Enter your VPN username.<\/li>\n\n\n<li><strong>User Authentication:<\/strong> Choose <em>Password<\/em> and enter your password.<\/li>\n\n\n<li><strong>Machine Authentication:<\/strong> Choose <em>Shared Secret<\/em> and enter the pre-shared key.<\/li>\n\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa;\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-6-1024x576.png\" alt=\"Mac System Settings showing the \u201cNetwork\u201d menu, with the option to add VPN configuration and select L2TP over IPSec as a protocol.\" class=\"wp-image-42714\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-6-1024x576.png 1024w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-6-300x169.png 300w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-6-768x432.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-6-1536x864.png 1536w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-6-1200x675.png 1200w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-6.png 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<ol start=\"4\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Click <em>Create.<\/em><\/li>\n<\/ol>\n\n\n\n<ol start=\"5\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Open <em>System Settings &gt; VPN,<\/em> then turn on the VPN connection you just created.<\/li>\n<\/ol>\n\n\n\n<h3 id=\"h-how-to-set-up-l2tp-on-iphone-or-ipad\" class=\"wp-block-heading\">How to Set Up L2TP on iPhone or iPad<\/h3>\n\n\n\n<ol style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Open <em>Settings &gt; General &gt; VPN &amp; Device Management.<\/em><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"1024\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa; aspect-ratio:0.45020159560778933;width:459px;height:auto\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-7-461x1024.png\" alt=\"iPhone General settings page with \u201cVPN &amp; Device Management\u201d highlighted.\" class=\"wp-image-42715\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-7-461x1024.png 461w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-7-135x300.png 135w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-7-768x1706.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-7-691x1536.png 691w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-7-922x2048.png 922w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-7.png 1080w\" sizes=\"auto, (max-width: 461px) 85vw, 461px\" \/><\/figure>\n<\/div>\n\n\n<ol start=\"2\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Navigate to <em>VPN<\/em> &gt; <em>Add VPN Configuration,<\/em> then tap <em>Type<\/em> and select <em>L2TP.<\/em><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"1024\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa; width:460px;height:auto\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-8-461x1024.png\" alt=\"iPhone Add VPN Configuration screen with Type set to IPsec and fields for server, account, password, and shared secret.\" class=\"wp-image-42716\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-8-461x1024.png 461w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-8-135x300.png 135w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-8-768x1706.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-8-691x1536.png 691w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-8-922x2048.png 922w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-8.png 1080w\" sizes=\"auto, (max-width: 461px) 85vw, 461px\" \/><\/figure>\n<\/div>\n\n\n<ol start=\"3\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Enter the connection details:\n<ol type=\"a\" class=\"wp-block-list\">\n\n<li><strong>Description, server, account, and password:<\/strong> Get these details from your VPN provider.<\/li>\n\n\n<li><strong>Shared secret (PSK):<\/strong> Enter it in the <em>Secret<\/em> field.<\/li>\n\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<ol start=\"4\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Click on <em>Done.<\/em> Select the new VPN profile, then turn the VPN on to connect.<\/li>\n<\/ol>\n\n\n\n<h3 id=\"su\" class=\"wp-block-heading\">Set Up L2TP on Android 11 or Earlier<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Android 11 and earlier can include a built-in L2TP\/IPsec client, though menu names vary between phone manufacturers.<\/p>\n\n\n\n<ol style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Go to <em>Settings &gt; Connections.<\/em><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"1024\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa; width:462px;height:auto\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-10-461x1024.png\" alt=\"Android Settings screen showing \u201cConnections\u201d highlighted.\n\" class=\"wp-image-42717\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-10-461x1024.png 461w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-10-135x300.png 135w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-10-768x1706.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-10-691x1536.png 691w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-10-922x2048.png 922w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-10.png 1080w\" sizes=\"auto, (max-width: 461px) 85vw, 461px\" \/><\/figure>\n<\/div>\n\n\n<ol start=\"2\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Select <em>More connection settings.<\/em><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"1024\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa; width:463px;height:auto\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-11-461x1024.png\" alt=\"\" class=\"wp-image-42718\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-11-461x1024.png 461w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-11-135x300.png 135w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-11-768x1706.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-11-691x1536.png 691w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-11-922x2048.png 922w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-11.png 1080w\" sizes=\"auto, (max-width: 461px) 85vw, 461px\" \/><\/figure>\n<\/div>\n\n\n<ol start=\"3\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Navigate to the <em>VPN<\/em> option.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"1024\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa;\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-12-461x1024.png\" alt=\"Android More Connections menu with \u201cVPN\u201d option highlighted.\" class=\"wp-image-42719\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-12-461x1024.png 461w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-12-135x300.png 135w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-12-768x1706.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-12-691x1536.png 691w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-12-922x2048.png 922w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-12.png 1080w\" sizes=\"auto, (max-width: 461px) 85vw, 461px\" \/><\/figure>\n<\/div>\n\n\n<ol start=\"4\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Tap <em>Add VPN profile.<\/em><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"1024\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa;\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-13-461x1024.png\" alt=\"Android VPN menu showing \u201cAdd VPN profile\u201d button highlighted.\n\" class=\"wp-image-42720\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-13-461x1024.png 461w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-13-135x300.png 135w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-13-768x1706.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-13-691x1536.png 691w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-13-922x2048.png 922w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-13.png 1080w\" sizes=\"auto, (max-width: 461px) 85vw, 461px\" \/><\/figure>\n<\/div>\n\n\n<ol start=\"5\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Under <em>Type<\/em><strong>,<\/strong> select <em>L2TP\/IPsec PSK.<\/em><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"1024\" style=\"margin-bottom: 15px; margin-top: -15px; border: 1px solid #aaa;\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-14-461x1024.png\" alt=\"Android VPN setup form with VPN type dropdown set to \u201cIKEv2\/IPsec PSK\u201d and fields for server, key, and credentials.\" class=\"wp-image-42721\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-14-461x1024.png 461w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-14-135x300.png 135w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-14-768x1706.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-14-691x1536.png 691w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-14-922x2048.png 922w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Slide-14.png 1080w\" sizes=\"auto, (max-width: 461px) 85vw, 461px\" \/><\/figure>\n<\/div>\n\n\n<ol start=\"6\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Enter the following details from your VPN provider:\n<ol type=\"a\" class=\"wp-block-list\">\n\n<li>Server address<\/li>\n\n\n<li>IPsec pre-shared key<\/li>\n\n\n<li>Username and password<\/li>\n\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<ol start=\"7\" style=\"font-size:18px\" class=\"wp-block-list\">\n<li>Save the profile, then select it from the VPN list and tap <em>Connect.<\/em><\/li>\n<\/ol>\n\n\n\n<h2 id=\"h-fixing-common-l2tp-vpn-connection-problems\" class=\"wp-block-heading\">Fixing Common L2TP VPN Connection Problems<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"839\" style=\"margin-bottom: 15px; margin-top: 15px;\" src=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/What-to-Check-When-an-L2TP-VPN-Connection-Fails-1024x839.png\" alt=\"Diagram showing three stages where an L2TP VPN connection can fail: starting the connection, authenticating, and using the connection after it is established.\" class=\"wp-image-42722\" srcset=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/What-to-Check-When-an-L2TP-VPN-Connection-Fails-1024x839.png 1024w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/What-to-Check-When-an-L2TP-VPN-Connection-Fails-300x246.png 300w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/What-to-Check-When-an-L2TP-VPN-Connection-Fails-768x629.png 768w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/What-to-Check-When-an-L2TP-VPN-Connection-Fails-1536x1259.png 1536w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/What-to-Check-When-an-L2TP-VPN-Connection-Fails-1200x983.png 1200w, https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/What-to-Check-When-an-L2TP-VPN-Connection-Fails.png 1800w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If your L2TP VPN doesn\u2019t work after setup, the symptom can help narrow down the cause. Try these checks:<\/p>\n\n\n\n<ul style=\"font-size:18px\" class=\"wp-block-list\">\n<li><strong>L2TP isn\u2019t available as a VPN option:<\/strong> Check whether your device still includes an L2TP client. If it doesn\u2019t, you\u2019ll need compatible VPN software or another protocol supported by the server.<\/li>\n\n\n\n<li><strong>The VPN won\u2019t connect:<\/strong> Make sure you\u2019re connected to the internet, then check the server address, VPN type, and pre-shared key or certificate. If any of these don\u2019t match the server settings, the connection can fail before L2TP starts.<\/li>\n\n\n\n<li><strong>Your login doesn\u2019t work:<\/strong> Double-check your username and password, then confirm your account can use the VPN. Some workplace setups may also require a domain or other login details from the network administrator.<\/li>\n\n\n\n<li><strong>The VPN works on one network but not another:<\/strong> The second network may be blocking L2TP\/IPsec traffic because of a firewall. If you don\u2019t manage that network, ask the administrator whether they\u2019re restricting VPN traffic.<\/li>\n\n\n\n<li><strong>The VPN connects, but you can\u2019t reach an internal service:<\/strong> The tunnel may be working, but routing or access permissions can still block that resource. A conflicting private IP address range can also stop traffic from reaching the right network.<\/li>\n\n\n\n<li><strong>A service works by IP address but not by name:<\/strong> This usually points to a DNS problem. Your device may be using the wrong DNS server or be missing the settings needed to resolve internal hostnames.<\/li>\n\n\n\n<li><strong>The VPN connects, but internet access stops:<\/strong> Check whether the VPN should route all traffic through the server or only specific private networks. The server and client need the correct routes for whichever setup you use.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"h-benefits-of-l2tp-ipsec\" class=\"wp-block-heading\">Benefits of L2TP\/IPsec<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Although L2TP\/IPsec is an older setup, it still has some advantages when you\u2019re working with systems that already support it:<\/p>\n\n\n\n<ul style=\"font-size:18px\" class=\"wp-block-list\">\n<li><strong>Fits existing network infrastructure:<\/strong> Organizations that already use L2TP\/IPsec gateways can keep those connections running while they move devices and services to newer VPN protocols over time. This can avoid replacing compatible hardware or server infrastructure all at once.<\/li>\n\n\n\n<li><strong>Works without extra software on some platforms:<\/strong> Windows, macOS, iOS, and older Android versions include a built-in L2TP\/IPsec client, so compatible devices can connect without installing separate VPN software.<\/li>\n\n\n\n<li><strong>Uses established networking standards:<\/strong> L2TP and IPsec follow standardized technologies, so compatible equipment from other vendors can work together when both sides use matching settings.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"h-limitations-of-l2tp-ipsec\" class=\"wp-block-heading\">Limitations of L2TP\/IPsec<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">L2TP\/IPsec comes with a few practical trade-offs, especially compared with newer VPN technologies:<\/p>\n\n\n\n<ul style=\"font-size:18px\" class=\"wp-block-list\">\n<li><strong>Extra processing:<\/strong> Because L2TP puts your data in a tunnel and then IPsec encrypts the whole thing, every packet ends up wrapped twice. That extra processing and larger packet size creates more overhead, which can slow down your speeds, especially compared to newer protocols.<\/li>\n\n\n\n<li><strong>Trouble on restricted networks:<\/strong> Some firewalls and routers may block or mishandle the network traffic L2TP\/IPsec needs. This can stop the VPN from connecting, especially on controlled workplace or public networks.<\/li>\n\n\n\n<li><strong>More setup friction:<\/strong> L2TP\/IPsec often relies on manual VPN profiles and some current platforms don\u2019t offer this natively. That can make one setup harder to maintain across a mix of newer and older devices.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"wp\" class=\"wp-block-heading\">Which Ports Does an L2TP VPN Use?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An L2TP\/IPsec connection uses other ports and network protocols for different parts of the connection.<sup>2<\/sup> User Datagram Protocol (UDP) is a common way for devices to send data across a network.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr style=\"background-color: #88E47B\"><td><strong>Port or protocol<\/strong><\/td><td><strong>What it does<\/strong><\/td><\/tr><tr><td>UDP 1701<\/td><td>Carries L2TP data between your device and the VPN server. In an L2TP\/IPsec connection, IPsec protects this traffic while it travels across the network<\/td><\/tr><tr><td>UDP 500<\/td><td>Starts the IPsec connection. Your device and the VPN server use it for IKE, which helps them agree on the security settings and encryption keys they\u2019ll use<\/td><\/tr><tr><td>UDP 4500<\/td><td>Used for Network Address Translation (NAT) traversal, which lets protected IPsec traffic pass through routers that share one public IP address across several devices.<\/td><\/tr><tr><td>ESP \u2013 IP protocol 50<\/td><td>Carries IPsec-protected traffic when it isn\u2019t using NAT traversal. ESP stands for Encapsulating Security Payload. \u201c50\u201d is an IP protocol number, not a TCP or UDP port.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 id=\"h-what-does-l2tp-passthrough-do\" class=\"wp-block-heading\">What Does L2TP Passthrough Do?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L2TP<\/strong> <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/vpn-passthrough\/\"><strong>passthrough<\/strong><\/a> <strong>is a router feature that helps L2TP traffic pass through NAT.<\/strong> Without it, some routers may have trouble handling an L2TP connection correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some routers include a separate IPsec passthrough setting because L2TP\/IPsec uses both technologies. Routers often enable these features by default, so you may not need to change anything unless your router is blocking the connection.<\/p>\n\n\n\n<h2 id=\"h-l2tp-vs-other-vpn-protocols-how-does-it-compare\" class=\"wp-block-heading\">L2TP vs. Other VPN Protocols: How Does It Compare?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s how L2TP\/IPsec fares against the most <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/best-vpn-protocol\/\">common VPN protocols<\/a> nowadays:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr style=\"background-color: #88E47B\"><td><strong>Protocol<\/strong><\/td><td><strong>Traffic Protection<\/strong><\/td><td><strong>Firewall\/NAT Flexibility<\/strong><\/td><td><strong>Network Switching<\/strong><\/td><td><strong>Platform Support<\/strong><\/td><td><strong>Use Cases<\/strong><\/td><\/tr><tr><td style=\"background-color: #efefef\">L2TP\/IPsec<\/td><td>IPsec protects L2TP traffic<\/td><td>Limited<\/td><td>Usually reconnects<\/td><td>Some built-in support<\/td><td>Legacy\/existing setups<\/td><\/tr><tr><td style=\"background-color: #efefef\">PPTP<\/td><td>Older\/weaker protection methods<\/td><td>Limited<\/td><td>Usually reconnects<\/td><td>Mostly legacy systems<\/td><td>Legacy only<\/td><\/tr><tr><td style=\"background-color: #efefef\">IKEv2\/IPsec<\/td><td>IPsec + IKEv2<\/td><td>Good<\/td><td>MOBIKE keeps VPN connected across networks.<\/td><td>Broad current support<\/td><td>Mobile\/remote VPNs<\/td><\/tr><tr><td style=\"background-color: #efefef\">OpenVPN<\/td><td>TLS-based setup + encrypted tunnel<\/td><td>High<\/td><td>Usually reconnects<\/td><td>Usually needs a client<\/td><td>Widely used<\/td><\/tr><tr><td style=\"background-color: #efefef\">WireGuard<\/td><td>Fixed modern cryptography<\/td><td>Good<\/td><td>Supports IP roaming<\/td><td>Broad current support<\/td><td>Modern VPNs<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 id=\"h-l2tp-ipsec-vs-pptp\" class=\"wp-block-heading\">L2TP\/IPsec vs. PPTP<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">L2TP\/IPsec and Point-to-Point Tunneling Protocol (PPTP) are both older VPN technologies, but they protect your traffic in different ways. PPTP uses older encryption and login methods. <strong>L2TP\/IPsec uses L2TP to create the tunnel, while IPsec handles encryption and authentication.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">They also use varying types of network traffic. PPTP relies on Generic Routing Encapsulation (GRE) to carry data and some firewalls block it. L2TP\/IPsec doesn\u2019t use GRE, but it can still have trouble on networks that block the traffic IPsec needs.<\/p>\n\n\n\n<h3 id=\"h-l2tp-ipsec-vs-ikev2-ipsec\" class=\"wp-block-heading\">L2TP\/IPsec vs. IKEv2\/IPsec<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Both use IPsec to protect your traffic, but they build and manage the VPN connection in distinctive ways. L2TP\/IPsec adds an L2TP tunnel on top of IPsec, creating a two-layered system. IKEv2\/IPsec uses <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/ikev2-vs-l2tp\/\">IKEv2<\/a> to set up and manage the IPsec connection without an extra layer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>IKEv2\/IPsec is also better at handling network changes.<\/strong> It can use Mobility and Multihoming Protocol (MOBIKE), a feature that helps keep the VPN connected when your device gets a new IP address, such as when you switch from Wi-Fi to mobile data. L2TP\/IPsec will usually need to reconnect after that change.<\/p>\n\n\n\n<h3 id=\"h-l2tp-ipsec-vs-openvpn\" class=\"wp-block-heading\">L2TP\/IPsec vs. OpenVPN<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>OpenVPN gives you more flexibility<\/strong> in how VPN traffic travels across a network. It can use either UDP or TCP and can work over alternate ports, which gives it more options and better compatibility with restricted networks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L2TP\/IPsec has a more fixed setup.<\/strong> However, some operating systems already include an L2TP\/IPsec client, so you can configure it through the device\u2019s VPN settings. OpenVPN usually requires a separate VPN app or client.<\/p>\n\n\n\n<h3 id=\"h-l2tp-ipsec-vs-wireguard\" class=\"wp-block-heading\">L2TP\/IPsec vs. WireGuard<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Unlike L2TP\/IPsec,<\/strong> <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/wireguard-vpn\/\"><strong>WireGuard<\/strong><\/a> <strong>handles the VPN tunnel and encryption together.<\/strong> WireGuard uses a fixed set of modern encryption tools instead of supporting many other\u00a0 choices.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">WireGuard can also handle changes to your device\u2019s IP address through IP roaming. For example, if you move from Wi-Fi to mobile data, it can update the connection without building a new tunnel. L2TP\/IPsec typically has to rebuild the connection from scratch when your network changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p><div style=\"background-color: #cfe2f3; padding: 1em; border-radius: 1em;\"><p><strong>Tech tip:<\/strong> Opt for a newer protocol when you have the choice. L2TP\/IPsec can still be useful when an older device or network requires it, but for everyday VPN use, the <a href=\"https:\/\/www.privateinternetaccess.com\/download\">PIA VPN app<\/a> gives you access to the superior WireGuard and OpenVPN protocols without any manual configuration.<\/p><\/div>\n\n\n\n<h2 id=\"h-faq\" class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1790841080492\"><h3 class=\"schema-faq-question\">Can I use L2TP without IPsec?<\/h3> <p class=\"schema-faq-answer\">Yes, technically, but bare L2TP isn\u2019t suitable for a secure VPN connection over the internet. L2TP creates the tunnel but doesn\u2019t provide the encryption and traffic protection IPsec adds, so <a href=\"#hd\">they\u2019re used together<\/a>.<br><br><\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1790841098314\"><h3 class=\"schema-faq-question\">Where do I find my L2TP VPN server address?<\/h3> <p class=\"schema-faq-answer\">You get the server address from whoever provides or manages the VPN, such as your VPN provider or workplace IT team. It will usually be a hostname or <a href=\"https:\/\/www.privateinternetaccess.com\/what-is-my-ip\">an IP address<\/a> that you enter in your device\u2019s VPN settings.<br><br><\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1790841116142\"><h3 class=\"schema-faq-question\">What is an L2TP\/IPsec pre-shared key?<\/h3> <p class=\"schema-faq-answer\"><a href=\"#by\">A pre-shared key (PSK) is a secret<\/a> that\u2019s configured on both your device and the VPN server to help authenticate the IPsec connection. It\u2019s separate from your VPN username and password, and it\u2019s usually provided by whoever manages the server.<br><br><\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1790841127731\"><h3 class=\"schema-faq-question\">Why is L2TP missing from my Android VPN settings?<\/h3> <p class=\"schema-faq-answer\"><a href=\"#su\">You can set up L2TP on Android 11 or earlier<\/a>. If you\u2019re using Android 12 or later, L2TP is missing because Google removed built-in support for it and PPTP starting with Android 12. A third-party VPN app may still support a compatible connection, but the native Android L2TP option is no longer available.<br><br><\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1790841137734\"><h3 class=\"schema-faq-question\">Can L2TP\/IPsec work behind NAT?<\/h3> <p class=\"schema-faq-answer\">Yes. IPsec can use NAT traversal to work through routers that use Network Address Translation (NAT). When IPsec detects NAT, <a href=\"#wp\">protected traffic can move to UDP port 4500<\/a> so it can pass through the router.<br><br><\/p> <\/div> <\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Resources:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc9395.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">RFC 9395 Deprecation of the Internet Key Exchange Version 1 (IKEv1) Protocol and Obsoleted Algorithms \u2013 RFC Editor<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/windows-server\/networking\/service-overview-and-network-port-requirements\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Service overview and network port requirements for Windows \u2013 Microsoft<\/a><\/li>\n<\/ol>\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>Layer 2 Tunneling Protocol (L2TP) has been around for decades, so you may still see it in older devices or network settings. It\u2019s a tunneling protocol that moves your data between your device and a VPN server, but it doesn\u2019t encrypt that data on its own. So, how does L2TP work, and is it still &hellip; <a href=\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;What Is an L2TP VPN and Is It Still Safe to Use?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":161,"featured_media":42708,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_stopmodifiedupdate":false,"_modified_date":"","footnotes":""},"categories":[1937],"tags":[],"class_list":["post-32711","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vpn"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>L2TP VPN: How It Works, Ports &amp; Setup, and Common Issues | PIA<\/title>\n<meta name=\"description\" content=\"L2TP may not be secure on its own, but when paired with IPsec it can encrypt your traffic. Learn how to set it up and troubleshoot common issues.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is an L2TP VPN and Is It Still Safe to Use?\" \/>\n<meta property=\"og:description\" content=\"L2TP may not be secure on its own, but when paired with IPsec it can encrypt your traffic. Learn how to set it up and troubleshoot common issues.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/\" \/>\n<meta property=\"og:site_name\" content=\"PIA\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/privateinternetaccess\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-15T10:23:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-02T07:54:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Featured-image-L2TP-VPN-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sayb Saad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@buyvpnservice\" \/>\n<meta name=\"twitter:site\" content=\"@buyvpnservice\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sayb Saad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/\"},\"author\":{\"name\":\"Sayb Saad\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/#\/schema\/person\/0fe9c0b8fba3b4f3d90a73c164f56a3c\"},\"headline\":\"What Is an L2TP VPN and Is It Still Safe to Use?\",\"datePublished\":\"2025-10-15T10:23:50+00:00\",\"dateModified\":\"2026-10-02T07:54:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/\"},\"wordCount\":2593,\"publisher\":{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Featured-image-L2TP-VPN-1.png\",\"articleSection\":[\"VPN\"],\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/\",\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/\",\"name\":\"L2TP VPN: How It Works, Ports & Setup, and Common Issues | PIA\",\"isPartOf\":{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Featured-image-L2TP-VPN-1.png\",\"datePublished\":\"2025-10-15T10:23:50+00:00\",\"dateModified\":\"2026-10-02T07:54:29+00:00\",\"description\":\"L2TP may not be secure on its own, but when paired with IPsec it can encrypt your traffic. Learn how to set it up and troubleshoot common issues.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841080492\"},{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841098314\"},{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841116142\"},{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841127731\"},{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841137734\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#primaryimage\",\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Featured-image-L2TP-VPN-1.png\",\"contentUrl\":\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Featured-image-L2TP-VPN-1.png\",\"width\":1800,\"height\":1200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.privateinternetaccess.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is an L2TP VPN and Is It Still Safe to Use?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/#website\",\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/\",\"name\":\"PIA\",\"description\":\"Online privacy news from around the world.\",\"publisher\":{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.privateinternetaccess.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/#organization\",\"name\":\"Private Internet Access\",\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2018\/07\/pialogowhitekglogo.png\",\"contentUrl\":\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2018\/07\/pialogowhitekglogo.png\",\"width\":1200,\"height\":1200,\"caption\":\"Private Internet Access\"},\"image\":{\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/privateinternetaccess\/\",\"https:\/\/x.com\/buyvpnservice\",\"https:\/\/www.instagram.com\/piavpn\/\",\"https:\/\/www.youtube.com\/channel\/UClyJZ47Rizb1xnwuKXDI0_w\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/#\/schema\/person\/0fe9c0b8fba3b4f3d90a73c164f56a3c\",\"name\":\"Sayb Saad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2026\/06\/cropped-image-2-1-96x96.png\",\"contentUrl\":\"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2026\/06\/cropped-image-2-1-96x96.png\",\"caption\":\"Sayb Saad\"},\"description\":\"Sayb Saad is a privacy and cybersecurity writer at PIA who doesn\u2019t take feature lists at face value. With more than five years of experience covering VPNs and digital security, he prefers to test tools himself, dig into how they work, and translate the findings into advice people can actually use. When he\u2019s away from the screen, he recharges outdoors or hangs out with his feline sidekick.\",\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/author\/sayb-saad\/\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841080492\",\"position\":1,\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841080492\",\"name\":\"Can I use L2TP without IPsec?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes, technically, but bare L2TP isn\u2019t suitable for a secure VPN connection over the internet. L2TP creates the tunnel but doesn\u2019t provide the encryption and traffic protection IPsec adds, so <a href=\\\"#hd\\\">they\u2019re used together<\/a>.<br\/><br\/>\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841098314\",\"position\":2,\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841098314\",\"name\":\"Where do I find my L2TP VPN server address?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"You get the server address from whoever provides or manages the VPN, such as your VPN provider or workplace IT team. It will usually be a hostname or <a href=\\\"https:\/\/www.privateinternetaccess.com\/what-is-my-ip\\\">an IP address<\/a> that you enter in your device\u2019s VPN settings.<br\/><br\/>\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841116142\",\"position\":3,\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841116142\",\"name\":\"What is an L2TP\/IPsec pre-shared key?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<a href=\\\"#by\\\">A pre-shared key (PSK) is a secret<\/a> that\u2019s configured on both your device and the VPN server to help authenticate the IPsec connection. It\u2019s separate from your VPN username and password, and it\u2019s usually provided by whoever manages the server.<br\/><br\/>\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841127731\",\"position\":4,\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841127731\",\"name\":\"Why is L2TP missing from my Android VPN settings?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<a href=\\\"#su\\\">You can set up L2TP on Android 11 or earlier<\/a>. If you\u2019re using Android 12 or later, L2TP is missing because Google removed built-in support for it and PPTP starting with Android 12. A third-party VPN app may still support a compatible connection, but the native Android L2TP option is no longer available.<br\/><br\/>\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841137734\",\"position\":5,\"url\":\"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841137734\",\"name\":\"Can L2TP\/IPsec work behind NAT?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. IPsec can use NAT traversal to work through routers that use Network Address Translation (NAT). When IPsec detects NAT, <a href=\\\"#wp\\\">protected traffic can move to UDP port 4500<\/a> so it can pass through the router.<br\/><br\/>\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"L2TP VPN: How It Works, Ports & Setup, and Common Issues | PIA","description":"L2TP may not be secure on its own, but when paired with IPsec it can encrypt your traffic. Learn how to set it up and troubleshoot common issues.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/","og_locale":"en_US","og_type":"article","og_title":"What Is an L2TP VPN and Is It Still Safe to Use?","og_description":"L2TP may not be secure on its own, but when paired with IPsec it can encrypt your traffic. Learn how to set it up and troubleshoot common issues.","og_url":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/","og_site_name":"PIA","article_publisher":"https:\/\/www.facebook.com\/privateinternetaccess\/","article_published_time":"2025-10-15T10:23:50+00:00","article_modified_time":"2026-10-02T07:54:29+00:00","og_image":[{"width":1800,"height":1200,"url":"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Featured-image-L2TP-VPN-1.png","type":"image\/png"}],"author":"Sayb Saad","twitter_card":"summary_large_image","twitter_creator":"@buyvpnservice","twitter_site":"@buyvpnservice","twitter_misc":{"Written by":"Sayb Saad","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#article","isPartOf":{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/"},"author":{"name":"Sayb Saad","@id":"https:\/\/www.privateinternetaccess.com\/blog\/#\/schema\/person\/0fe9c0b8fba3b4f3d90a73c164f56a3c"},"headline":"What Is an L2TP VPN and Is It Still Safe to Use?","datePublished":"2025-10-15T10:23:50+00:00","dateModified":"2026-10-02T07:54:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/"},"wordCount":2593,"publisher":{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#primaryimage"},"thumbnailUrl":"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Featured-image-L2TP-VPN-1.png","articleSection":["VPN"],"inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/","url":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/","name":"L2TP VPN: How It Works, Ports & Setup, and Common Issues | PIA","isPartOf":{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#primaryimage"},"image":{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#primaryimage"},"thumbnailUrl":"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Featured-image-L2TP-VPN-1.png","datePublished":"2025-10-15T10:23:50+00:00","dateModified":"2026-10-02T07:54:29+00:00","description":"L2TP may not be secure on its own, but when paired with IPsec it can encrypt your traffic. Learn how to set it up and troubleshoot common issues.","breadcrumb":{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841080492"},{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841098314"},{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841116142"},{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841127731"},{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841137734"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#primaryimage","url":"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Featured-image-L2TP-VPN-1.png","contentUrl":"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2025\/10\/Featured-image-L2TP-VPN-1.png","width":1800,"height":1200},{"@type":"BreadcrumbList","@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.privateinternetaccess.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What Is an L2TP VPN and Is It Still Safe to Use?"}]},{"@type":"WebSite","@id":"https:\/\/www.privateinternetaccess.com\/blog\/#website","url":"https:\/\/www.privateinternetaccess.com\/blog\/","name":"PIA","description":"Online privacy news from around the world.","publisher":{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.privateinternetaccess.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.privateinternetaccess.com\/blog\/#organization","name":"Private Internet Access","url":"https:\/\/www.privateinternetaccess.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.privateinternetaccess.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2018\/07\/pialogowhitekglogo.png","contentUrl":"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2018\/07\/pialogowhitekglogo.png","width":1200,"height":1200,"caption":"Private Internet Access"},"image":{"@id":"https:\/\/www.privateinternetaccess.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/privateinternetaccess\/","https:\/\/x.com\/buyvpnservice","https:\/\/www.instagram.com\/piavpn\/","https:\/\/www.youtube.com\/channel\/UClyJZ47Rizb1xnwuKXDI0_w"]},{"@type":"Person","@id":"https:\/\/www.privateinternetaccess.com\/blog\/#\/schema\/person\/0fe9c0b8fba3b4f3d90a73c164f56a3c","name":"Sayb Saad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.privateinternetaccess.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2026\/06\/cropped-image-2-1-96x96.png","contentUrl":"https:\/\/www.privateinternetaccess.com\/blog\/wp-content\/uploads\/2026\/06\/cropped-image-2-1-96x96.png","caption":"Sayb Saad"},"description":"Sayb Saad is a privacy and cybersecurity writer at PIA who doesn\u2019t take feature lists at face value. With more than five years of experience covering VPNs and digital security, he prefers to test tools himself, dig into how they work, and translate the findings into advice people can actually use. When he\u2019s away from the screen, he recharges outdoors or hangs out with his feline sidekick.","url":"https:\/\/www.privateinternetaccess.com\/blog\/author\/sayb-saad\/"},{"@type":"Question","@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841080492","position":1,"url":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841080492","name":"Can I use L2TP without IPsec?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes, technically, but bare L2TP isn\u2019t suitable for a secure VPN connection over the internet. L2TP creates the tunnel but doesn\u2019t provide the encryption and traffic protection IPsec adds, so <a href=\"#hd\">they\u2019re used together<\/a>.<br\/><br\/>","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841098314","position":2,"url":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841098314","name":"Where do I find my L2TP VPN server address?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"You get the server address from whoever provides or manages the VPN, such as your VPN provider or workplace IT team. It will usually be a hostname or <a href=\"https:\/\/www.privateinternetaccess.com\/what-is-my-ip\">an IP address<\/a> that you enter in your device\u2019s VPN settings.<br\/><br\/>","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841116142","position":3,"url":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841116142","name":"What is an L2TP\/IPsec pre-shared key?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"<a href=\"#by\">A pre-shared key (PSK) is a secret<\/a> that\u2019s configured on both your device and the VPN server to help authenticate the IPsec connection. It\u2019s separate from your VPN username and password, and it\u2019s usually provided by whoever manages the server.<br\/><br\/>","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841127731","position":4,"url":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841127731","name":"Why is L2TP missing from my Android VPN settings?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"<a href=\"#su\">You can set up L2TP on Android 11 or earlier<\/a>. If you\u2019re using Android 12 or later, L2TP is missing because Google removed built-in support for it and PPTP starting with Android 12. A third-party VPN app may still support a compatible connection, but the native Android L2TP option is no longer available.<br\/><br\/>","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841137734","position":5,"url":"https:\/\/www.privateinternetaccess.com\/blog\/l2tp-vpn\/#faq-question-1790841137734","name":"Can L2TP\/IPsec work behind NAT?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes. IPsec can use NAT traversal to work through routers that use Network Address Translation (NAT). When IPsec detects NAT, <a href=\"#wp\">protected traffic can move to UDP port 4500<\/a> so it can pass through the router.<br\/><br\/>","inLanguage":"en-US"},"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/posts\/32711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/users\/161"}],"replies":[{"embeddable":true,"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/comments?post=32711"}],"version-history":[{"count":52,"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/posts\/32711\/revisions"}],"predecessor-version":[{"id":42729,"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/posts\/32711\/revisions\/42729"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/media\/42708"}],"wp:attachment":[{"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/media?parent=32711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/categories?post=32711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.privateinternetaccess.com\/blog\/wp-json\/wp\/v2\/tags?post=32711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}