How to setup L2TP VPN on Android?
Setup L2TP VPN on Android?
Introduction. L2TP is the standard for the VPN connection over the Internet and provides several advantages over IPsec as a way to securely connect to a remote network: simple configuration, fast connection, low traffic overhead, and compatibility with a wide variety of firewalls. The key advantage for businesses is that it does not require any additional software or hardware to be installed on the client machine; thus, it is easy to deploy.
This tutorial is intended for anyone using a rooted Android phone, and can be applied to other variations of Android, too. If you want to use an official LGK (LG Home Link Kit) app, you may download it from Play Store. Prerequisites. A rooted device. A mobile data connection. Network Settings. The basic Network Settings include the Wi-Fi and Bluetooth networks to which your phone connects. If you're using the official LGK app, tap the Wi-Fi icon to bring up the Wi-Fi Networks menu and select Use Wi-Fi.
Open the Settings app, scroll down to the Cellular option, and tap on Active. Here, you will see all the mobile networks to which your phone has established a connection.
VPN Configuration. You will first need to create an entry in the Settings to configure your VPN. This will allow you to browse the network with the VPN connection.
Next, tap on the Wireless & Networks option from the Home screen, and then select More network. Here, you can either select your Wi-Fi network and enter your password there, or you can select the Access point option and connect to your home Wi-Fi network. For this tutorial, we are using the Wi-Fi option.
To create a VPN configuration in the Settings, navigate to the main Network Settings tab in the Android phone's Settings screen and tap Advanced. Enter your Wi-Fi Network information in the form shown below. You will need to enter the SSID name, your network password, and any extra options as needed. As you can see in the screenshot above, we entered a SSID name, user name, and password.
Why doesn't my Android phone have L2TP VPN?
I just got a refurbished Samsung Tab 2 from the Amazon Warehouse.
It's got the newest Android 4.1.2 version of Jelly Bean, and the usual array of Google applications preinstalled: Google search, play store, maps, and Gmail. I've never owned an Android phone before. After some research, I've decided to look into VPN for two reasons. I figure that it will be more secure (from the perspective that it offers some level of anonymity). Secondly, I also learned that Android's default Android VPN software is relatively poor. Even so, this was really surprising. It looks like the manufacturer chose L2TP instead of PPTP for its Android VPN software. But, when I tried to install VPN apps from the Play Store, I realized it's L2TP only.
L2TP (l2tpvpn). If you're following this blog, you may know that I've used some L2TP-based VPN in the past. In particular, I used it on a different Android device at home, but it wasn't the best performing L2TP-based VPN option I've used. On my PC or Mac, I get much better performance with PPTP.
If you have some free time, here's some background on L2TP-based VPN. While PPTP had been around since 1996, it's not that common in the VPN world these days. There were originally three protocols for L2TP: PPTP, L2TP & L2TP/IPSec, and L2TP/IPsec (the one which uses a separate protocol for IP encryption). With L2TP, you're given a session key, which encrypts the tunnel traffic so it can't be intercepted and used by someone with the key to decrypt it. It's essentially the security protocol that you need to use between client and server.
If it takes you awhile to read, it's because L2TP has a whole host of quirks and implementation difficulties. To make matters worse, many users have gotten themselves into trouble while using L2TP. A user who goes by the name, fogcreek on a website called, OpenVPN.
Why was L2TP removed from Android?
The L2TP issue was one of the biggest reasons why Android never really caught on with enterprise users.
The problem was that most if not all implementations were buggy and/or missing crucial features. This caused many a vendor to write off the entire platform as being unworkable. I've written about this issue in detail before, and this was probably one of my personal favorites.
This year, the Android team announced they were removing L2TP from the OS. Why? In the Android blog post announcing the change, Google said: For L2TP connections, we have now made the Network Security API available for use on Android devices. We also now support native IPSec and RADIUS authentication for VPNs, enabling you to establish a VPN connection using your existing RADIUS credentials.
It's true that it's possible to connect to a VPN using a combination of the two methods, but many VPN services still require a manual step for provisioning of an L2TP profile, which is a huge security risk. The new API only supports the creation of a VPN connection, not the provisioning of a user profile.
In a related note, Google announced that they are deprecating the VPN service in Android Q will still allow you to use OpenVPN and other similar VPN servers with the appropriate API calls. L2TP is also completely unsupported by any server or software vendors. This is no secret. At the time of writing, there are no commercial or open source implementations of L2TP for Android. There are a few freely-available implementations (see the list below), but most are unmaintained or have been deprecated.
It's a sad state of affairs, because I actually liked L2TP. Android, iOS, Windows, and macOS all had some form of L2TP support. On Android, L2TP worked, but iOS and Windows/MacOS had issues that prevented it from working properly.
Here are some of the issues I encountered on Android: Inconsistent behavior. There were several behaviors that were inconsistent between applications on Android that used L2TP. These would affect a variety of apps, not just VPN clients.
The primary issue was that some VPN apps would disconnect and sometimes not reconnect.
Related Answers
Does Android support L2TP?
Add VPN Server using L2TP or PPTP. How to add VPN Server to Android...
Is L2TP still used?
Here's why I do not recommend L2TP over IPsec. This is not a critic...
Is there a free version of CyberGhost?
Does CyberGhost VPN work in Canada? Does CyberGhost VPN work in the UK? Does CyberG...