Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using Openswan and xl2tpd to set up a VPN connection for a Windows computer, everything looks perfectly configured and the IPSec connection is successful :

STATE_QUICK_R2: IPsec SA established transport mode

But nothing else happens, and after about a minute, Windows aborts the connection because it couldn't establish the L2TP tunnel, and there was no trace of xl2tp anywhere in the logs even though it is running.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The solution is to add the leftprotoport option to 17/%any in your Openswan configuration (most likely located at /etc/ipsec.conf).

Example :

version 2

config setup
 ...

conn l2tp-PSK
 ...
 leftprotoport=17/%any
 ...
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.