[Openswan Users] Help - WinXP l2tp over Ipsec into Openswan linux server
Bill.Melotti at cognitomobile.com
Tue Apr 24 13:23:45 EDT 2007
I have followed two or three different guides to getting this working
and after a long period have eventually managed to get the IPSEC side of
things working (I think ! )
The WinXP client is behind a NATting ADSL router, so is the linux
However when WinXP moves to the L2TP stage, if I am running tcpdump on
ipsec0 I can see l2tp packets arriving (which I assume means they came
in encrypted, have been de-scrambled and pushed into ipsec0 as clear
However l2tpd does not see these packets (it really weird actually,
l2tpd breaks out of the select its been sleeping in, with the fd
connected to the socket, but when it issues the recvmsg, gets EAGAIN, so
goes back to sleep, a quick test program that sends out a dummy UDP
packet on 1701 proves its not a programming error by waking and sending
I've tried using xl2tpd also, no joy.
Packet forwarding is on generally and for the interfaces ipsec0 and eth0
it is on and rp_filter is off. I've tried with ipsec0 having same and
slightly different address to eth0 which is where the internet
connection is made.
Currently I have no firewall rules on port 1701 (as mentioned above the
packet arrival does wake up l2tpd, but then no data is available for the
program. I also wrote a simple UDP server to see if I would get a wake
up after just sleeping on recvfrom. The process does not wake even as
tcpdump is reporting packets received on ipsec0)
Does anyone have any ideas why traffic is not being delivered to
I think I am using KLIPS, I ran a patch on my 2.4 kernel and then had a
load of ipsec options in the kernel config (I don't think they were
there bfore ! ) A new kernel was built and installed.
How can I tell if I am using KLIPS or NETKEY?
I have been stuck on this now for about a day, any help would be greatly
Many thanks in advance
Network Operations Manager
E bill.melotti at cognitomobile.com
NOTICE: Cognito Limited. Benham Valence, Newbury, Berkshire, RG20 8LU. UK. Company number 02723032
This e-mail message and any attachment is confidential. It may not be disclosed to or used by anyone other than the intended recipient. If you have received this e-mail in error please notify the sender immediately then delete it from your system. Whilst every effort has been made to check this mail is virus free we accept no responsibility for software viruses and you should check for viruses before opening any attachments. Opinions, conclusions and other information in this email and any attachments which do not relate to the official business of the company are neither given by the company nor endorsed by it.
This message has been scanned for viruses by Mail Controller - www.MailController.altohiway.com
More information about the Users