Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

Unable to connect to L2TP/IPsec vpn from Windows 10

When I try to connect to my L2TP/IPsec vpn with pre-shared key, I get the following error: The L2TP connection attempt failed because the security layer encountered a processing error during initial ...
coolcat007's user avatar
0 votes
1 answer
358 views

VPN from Windows 10 to Windows Server 2019

I'm trying to establish a connection between a Windows 10 machine and a Windows Server 2019. On the server side I set up the VPN by these instructions https://www.snel.com/support/how-to-set-up-an-...
DBR's user avatar
  • 21
0 votes
0 answers
1k views

VPN l2tp over IPSec: ppp - No auth is possible. Ubuntu 18.04 LTS

I setup IPSec over VPN using this tutorial https://20notes.net/linux/setup-l2tp-over-ipsec-client-on-ubuntu-18-04-using-gnome It is working using NetworkManager. However NetworkManager allow only one ...
Lukasz Czyzewski's user avatar
4 votes
1 answer
3k views

L2TP/IPSec On Mac Failed to connect

I am connecting to a VPN Server set up following instructions in https://github.com/hwdsl2/setup-ipsec-vpn And I setup the clients following https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/...
addlistener's user avatar
1 vote
1 answer
3k views

L2TP / IPSec couldn't look up L2TP VPN gateway IP address (CentOS 7)

I'm trying to connect to VPN from CentOS 7. I have network-manager-l2tp installed (1.2.10). The output I'm getting: Mar 18 23:46:43 localhost NetworkManager[4790]: <info> [1552949203.6892] vpn-...
Incl's user avatar
  • 11
3 votes
1 answer
2k views

L2TP/IPSec using srongswan in ubuntu

I'm using strongswan on ubuntu 16.04 to connect to a thirdparty L2TP/IPSec VPN. They provided me a profile file like this: VPN connection IP : X.X.X.X IPSEC Authentication : --------------------- ...
Developia's user avatar
  • 141
4 votes
3 answers
17k views

Can't connect to L2TP IPsec VPN from Windows 10 but it works with macOS High Sierra

I am trying to connect from a Windows 10 client to an Ubiquiti EdgeRouter VPN, I went through the instructions on https://help.ubnt.com/hc/en-us/articles/204950294-EdgeRouter-L2TP-IPsec-VPN-Server but ...
div-opn's user avatar
  • 41
17 votes
3 answers
103k views

L2TP/IPsec VPN fails to connect on Windows 10 - Works fine on iOS

I’ve configured an L2TP/ipsec server with a pre-shared key that works like a charm on my phone. I’ve tried several ways including disabling of firewall to connect on Windows 10 but it always fails. ...
Asad Moeen's user avatar
0 votes
1 answer
618 views

Why does VPN client connect with pfs=yes when server has pfs=no?

I have a small VPN set-up. The client in question is a Raspberry Pi running strongswan and xl2tpd to run as IPsec/L2TP. I made a configuration mistake on the client where I set pfs=yes (for perfect ...
Brick's user avatar
  • 191
0 votes
0 answers
278 views

VPN, NAT - an out of the box solution

I am looking for an out of the box VPN solution for homeuser build with cheap hardware. The szenario is as easy as everywhere: Office: Server (private IPv4 LAN 192.168.10.x) <-> router and ...
cmks's user avatar
  • 103
2 votes
0 answers
891 views

xl2tpd-control command not working

I have an cisco vpn server which which i am trying to connect an endpoint through VPN(IPsec/L2TP). I have strongswan, xl2tpd and pppd running on my machine. IPsec conection is established successfully ...
Vikash Srivastava's user avatar
0 votes
1 answer
2k views

L2TP/IPsec VPN Debian/Ubuntu IPsec fails to negotiate or establish security associations

I spent 2 days to configure and figure what's wrong with this setup of L2TP/IPsec VPN. I'm using Debian 8.6 on my VPS server and on my Virtual machine on laptop I'm using Ubuntu 14.04.5. On my VPS im ...
Jacob's user avatar
  • 15
0 votes
1 answer
4k views

Using openswan on raspian get "We cannot identify ourselves with either end of this network"

I just spent several hours fighting with Raspberry Pi 3 to get it to connect to my VPN at work. I got OpenSwan installed and (apparently) configured, and also xl2ptd. After starting the services and ...
Brick's user avatar
  • 191
1 vote
0 answers
4k views

Connect to L2TP/IPsec (username/password/PSK) on cmd.exe

How may I connect to VPN using the username, password and PSK combo in the command line? Google has been of no help; any guidance will be most welcome. I want a command to the effect of vpnclient /...
Oxwivi's user avatar
  • 316
2 votes
2 answers
2k views

IPSec tunneling mode vs transport mode vs transport+L2TP

According to many docs, transport mode should be used in host-to-host IPSec, while tunneling is used to connect gateways and L2TP is used for remote access. But nothing prevents me from using ...
user996142's user avatar
  • 1,533
5 votes
1 answer
7k views

L2TP/IPSec stopped working after openssl upgrade

VPN connections from my MacBook / iOS devices to a Debian server having openswan / xl2tp were working just fine until I used apt-get to upgrade everything due to openssl heartbleed announcement. Now ...
Dennis Kreminsky's user avatar
3 votes
2 answers
9k views

IPSec with or without L2TP?

I'm referring to this question. And to be clear: This is really not about the old PPTP vs L2TP debate. ;-) I successfully set up racoon as an IKE server without any L2TP implementation running and it ...
creethy's user avatar
  • 43
0 votes
1 answer
327 views

Can I run a VPN server with certificates only, and no password/pre-shared keys?

I've seen several writeups around discussing VPN server configuration. In all of them, there are 2 or 3 pre-shared keys / passwords used at various levels of the tunnel -- one for IPSec, one for L2TP,...
James B's user avatar
  • 533
0 votes
1 answer
2k views

Logging VPN Traffic (L2TP/IPSec on Ubuntu)

I'm running a small, private VPN server for me and 2-3 other people. For bandwidth monitoring, and to comply with any possible DMCA or other government (re: new Canadian law) requests, I want to have ...
BBB's user avatar
  • 101
0 votes
0 answers
4k views

Openswan l2tp ipsec vpn on Ubuntu 13.04 for remote access (Android road warrior). Does not work

I followed the directions from here: http://samsclass.info/ipv6/proj/proj-L5-VPN-Server.html I used the same exact files as posted at that site. On my router, I have port-forwarded 500 UDP and 4500 ...
Lawrence Chiu's user avatar
0 votes
2 answers
3k views

Openswan L2TP/IPsec VPN for iPhone fails during connection

I spent the morning trying to configure an L2TP/IPsec VPN using Openswan and xl2tpd on a Debian Squeeze server for use by a mix of iOS and Mac clients. I am trying to set it up using pre-shared keys ...
Steve Madsen's user avatar
1 vote
1 answer
432 views

OS X: how to figure out what prevents L2TP/IPSec from running correctly

It seems that an old installation of Cisco Anyconnect prevents the OS X built-in L2TP/IPSec client from running (I posted a question here: OS X 10.7, can't log into any L2TP VPN server, but didn't ...
lupincho's user avatar
  • 1,758
48 votes
2 answers
116k views

IPsec versus L2TP/IPsec

I have a VPN service which gives me the option of connecting via PPTP, IPsec, or L2TP over IPsec. PPTP i know is inferior in terms of security and encryption, but I'm not really sure what the ...
Chris Pratt's user avatar
1 vote
1 answer
2k views

Why is xl2tpd / pppd adding a route for 192.0.0.0/8 after bringing up the link?

I am establishing an l2tp connection with IPSEC between two hosts and when the link comes up a route is added on the client side for 192/8 pointing out the newly established ppp interface. I can find ...
MT.'s user avatar
  • 515
0 votes
1 answer
4k views

setup L2TP on Ubuntu 10.10

I'm following this guide to setup a VPS on my Ubuntu VPS: http://riobard.com/blog/2010-04-30-l2tp-over-ipsec-ubuntu/ My config files are setup as in that guide, openswan version is 2.6.26 I think.. ...
luca's user avatar
  • 1,773