Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Lion Server VPN

After setting up lion server vpn i can not mae a connection. Here is my error log. any help is appreciated


2011-08-31 14:40:54 CDT Incoming call... Address given to client = 192.168.1.240

Wed Aug 31 14:40:54 2011 : Directory Services Authentication plugin initialized

Wed Aug 31 14:40:54 2011 : Directory Services Authorization plugin initialized

Wed Aug 31 14:40:54 2011 : L2TP incoming call in progress from '199.184.205.109'...

Wed Aug 31 14:40:54 2011 : L2TP received SCCRQ

Wed Aug 31 14:40:54 2011 : L2TP sent SCCRP

2011-08-31 14:40:55 CDT Incoming call... Address given to client = 192.168.1.241

Wed Aug 31 14:40:55 2011 : Directory Services Authentication plugin initialized

Wed Aug 31 14:40:55 2011 : Directory Services Authorization plugin initialized

Wed Aug 31 14:40:55 2011 : L2TP incoming call in progress from '199.184.205.109'...

Wed Aug 31 14:40:55 2011 : L2TP received SCCRQ

Wed Aug 31 14:40:55 2011 : L2TP sent SCCRP

2011-08-31 14:40:57 CDT Incoming call... Address given to client = 192.168.1.242

Wed Aug 31 14:40:57 2011 : Directory Services Authentication plugin initialized

Wed Aug 31 14:40:57 2011 : Directory Services Authorization plugin initialized

Wed Aug 31 14:40:57 2011 : L2TP incoming call in progress from '199.184.205.109'...

Wed Aug 31 14:40:57 2011 : L2TP received SCCRQ

Wed Aug 31 14:40:57 2011 : L2TP sent SCCRP

2011-08-31 14:41:01 CDT Incoming call... Address given to client = 192.168.1.243

Wed Aug 31 14:41:01 2011 : Directory Services Authentication plugin initialized

Wed Aug 31 14:41:01 2011 : Directory Services Authorization plugin initialized

Wed Aug 31 14:41:01 2011 : L2TP incoming call in progress from '199.184.205.109'...

Wed Aug 31 14:41:01 2011 : L2TP received SCCRQ

Wed Aug 31 14:41:01 2011 : L2TP sent SCCRP

2011-08-31 14:41:05 CDT Incoming call... Address given to client = 192.168.1.244

Wed Aug 31 14:41:05 2011 : Directory Services Authentication plugin initialized

Wed Aug 31 14:41:05 2011 : Directory Services Authorization plugin initialized

Wed Aug 31 14:41:05 2011 : L2TP incoming call in progress from '199.184.205.109'...

Wed Aug 31 14:41:05 2011 : L2TP received SCCRQ

Wed Aug 31 14:41:05 2011 : L2TP sent SCCRP

2011-08-31 14:41:09 CDT Incoming call... Address given to client = 192.168.1.245

Wed Aug 31 14:41:09 2011 : Directory Services Authentication plugin initialized

Wed Aug 31 14:41:09 2011 : Directory Services Authorization plugin initialized

Wed Aug 31 14:41:09 2011 : L2TP incoming call in progress from '199.184.205.109'...

Wed Aug 31 14:41:09 2011 : L2TP received SCCRQ

Wed Aug 31 14:41:09 2011 : L2TP sent SCCRP

2011-08-31 14:41:13 CDT Incoming call... Address given to client = 192.168.1.246

Wed Aug 31 14:41:13 2011 : Directory Services Authentication plugin initialized

Wed Aug 31 14:41:13 2011 : Directory Services Authorization plugin initialized

Wed Aug 31 14:41:13 2011 : L2TP incoming call in progress from '199.184.205.109'...

Wed Aug 31 14:41:13 2011 : L2TP received SCCRQ

Wed Aug 31 14:41:13 2011 : L2TP sent SCCRP

2011-08-31 14:41:14 CDT --> Client with address = 192.168.1.240 has hungup

2011-08-31 14:41:15 CDT --> Client with address = 192.168.1.241 has hungup

2011-08-31 14:41:17 CDT --> Client with address = 192.168.1.242 has hungup

2011-08-31 14:41:21 CDT --> Client with address = 192.168.1.243 has hungup

2011-08-31 14:41:25 CDT --> Client with address = 192.168.1.244 has hungup

2011-08-31 14:41:29 CDT --> Client with address = 192.168.1.245 has hungup

Posted on Aug 31, 2011 12:42 PM

Reply
23 replies

Sep 4, 2011 7:40 AM in response to ScottM

Have you been able to get PPTP working? For me neither work. I get the following errors for PPTP on the server:


Sun Sep 4 10:24:43 2011 : DSAuth plugin: Could not authenticate key agent for encryption key retrieval.

Sun Sep 4 10:24:43 2011 : sent [CHAP Success id=0xa9 "S=55299EAA89204494CACFF6D5BC5EFD1123090965 M=Access granted"]

Sun Sep 4 10:24:43 2011 : CHAP peer authentication succeeded for edljedi

Sun Sep 4 10:24:43 2011 : DSAccessControl plugin: User 'edljedi' authorized for access

Sun Sep 4 10:24:43 2011 : MPPE required, but keys are not available. Possible plugin problem?

Sun Sep 4 10:24:43 2011 : sent [LCP TermReq id=0x2 "MPPE required but not available"]

Sun Sep 4 10:24:43 2011 : Connection terminated.


and the following errors on the laptop:


9/4/11 8:24:39.055 AM pppd: pppd 2.4.2 (Apple version 560.13) started by edljedi, uid 502

9/4/11 8:24:39.452 AM pppd: PPTP connecting to server 'delariviere.net' (68.15.133.50)...

9/4/11 8:24:39.992 AM pppd: PPTP connection established.

9/4/11 8:24:40.278 AM pppd: Connect: ppp0 <--> socket[34:17]

9/4/11 8:24:40.000 AM kernel: PPTP domain init

9/4/11 8:24:43.345 AM pppd: PPTP error when reading socket : EOF

9/4/11 8:24:43.345 AM pppd: PPTP error when reading header : read -1, expected 12 bytes

9/4/11 8:24:43.350 AM pppd: Connection terminated.

9/4/11 8:24:43.384 AM pppd: PPTP disconnecting...

9/4/11 8:24:43.388 AM pppd: PPTP disconnected


I have tried all the various solutions for this one to no avail. I would much prefer to get L2TP working but at this point I would settle for at least one.


I'm pretty sure it's a server problem since I have tried to connect with a Mac OS X 10.7 system, my iPhone and WinXP. All fail. I had tried simplifying my shared key on L2TP to no avail as someone else had suggested. If I could figure out what is supposed to happen after the SCCRP step (what the connecting machine is supposed to send back, maybe I can figure out why it is not).


On my server I get the same errors as you. On my laptop I get:

9/4/11 8:31:53.854 AM pppd: L2TP connecting to server 'server.net' (68.133.xx.xx)...

9/4/11 8:31:53.863 AM pppd: IPSec connection started

9/4/11 8:31:54.029 AM racoon: Connecting.

9/4/11 8:31:54.029 AM racoon: IPSec Phase1 started (Initiated by me).

9/4/11 8:31:54.030 AM racoon: IKE Packet: transmit success. (Initiator, Main-Mode message 1).

9/4/11 8:31:54.181 AM racoon: IKE Packet: receive success. (Initiator, Main-Mode message 2).

9/4/11 8:31:54.201 AM racoon: IKE Packet: transmit success. (Initiator, Main-Mode message 3).

9/4/11 8:31:54.339 AM racoon: IKE Packet: receive success. (Initiator, Main-Mode message 4).

9/4/11 8:31:54.346 AM racoon: IKE Packet: transmit success. (Initiator, Main-Mode message 5).

9/4/11 8:31:54.473 AM racoon: IKEv1 Phase1 AUTH: success. (Initiator, Main-Mode Message 6).

9/4/11 8:31:54.473 AM racoon: IKE Packet: receive success. (Initiator, Main-Mode message 6).

9/4/11 8:31:54.473 AM racoon: IKEv1 Phase1 Initiator: success. (Initiator, Main-Mode).

9/4/11 8:31:54.473 AM racoon: IPSec Phase1 established (Initiated by me).

9/4/11 8:31:55.475 AM racoon: IPSec Phase2 started (Initiated by me).

9/4/11 8:31:55.477 AM racoon: IKE Packet: transmit success. (Initiator, Quick-Mode message 1).

9/4/11 8:31:55.613 AM racoon: IKE Packet: receive success. (Initiator, Quick-Mode message 2).

9/4/11 8:31:55.614 AM racoon: IKE Packet: transmit success. (Initiator, Quick-Mode message 3).

9/4/11 8:31:55.615 AM racoon: IKEv1 Phase2 Initiator: success. (Initiator, Quick-Mode).

9/4/11 8:31:55.615 AM racoon: IPSec Phase2 established (Initiated by me).

9/4/11 8:31:55.615 AM pppd: IPSec connection established

9/4/11 8:32:15.616 AM pppd: L2TP cannot connect to the server

9/4/11 8:32:15.681 AM racoon: IKE Packet: transmit success. (Information message).

9/4/11 8:32:15.681 AM racoon: IKEv1 Information-Notice: transmit success. (Delete IPSEC-SA).

9/4/11 8:32:15.684 AM racoon: IKE Packet: transmit success. (Information message).

9/4/11 8:32:15.684 AM racoon: IKEv1 Information-Notice: transmit success. (Delete ISAKMP-SA).


Based on the timestamps, something is expected to be happening between the 31 min 55 second mark and the 32 min 15 second mark when it hangs up. The fun part is the server keeps saying "here's an IP, how bout this one, or this one":


2011-09-04 10:31:55 EDT Incoming call... Address given to client = 192.168.x.140

Sun Sep 4 10:31:55 2011 : Directory Services Authentication plugin initialized

Sun Sep 4 10:31:55 2011 : Directory Services Authorization plugin initialized

Sun Sep 4 10:31:55 2011 : L2TP incoming call in progress from '72.254.xx.xx'...

Sun Sep 4 10:31:55 2011 : L2TP received SCCRQ

Sun Sep 4 10:31:55 2011 : L2TP sent SCCRP

2011-09-04 10:31:56 EDT Incoming call... Address given to client = 192.168.x.141

Sun Sep 4 10:31:56 2011 : Directory Services Authentication plugin initialized

Sun Sep 4 10:31:56 2011 : Directory Services Authorization plugin initialized

Sun Sep 4 10:31:56 2011 : L2TP incoming call in progress from '72.254.xx.xx'...

Sun Sep 4 10:31:56 2011 : L2TP received SCCRQ

Sun Sep 4 10:31:56 2011 : L2TP sent SCCRP

2011-09-04 10:31:58 EDT Incoming call... Address given to client = 192.168.x.142

Sun Sep 4 10:31:58 2011 : Directory Services Authentication plugin initialized

Sun Sep 4 10:31:58 2011 : Directory Services Authorization plugin initialized

Sun Sep 4 10:31:58 2011 : L2TP incoming call in progress from '72.254.xx.xx'...

Sun Sep 4 10:31:58 2011 : L2TP received SCCRQ

Sun Sep 4 10:31:58 2011 : L2TP sent SCCRP

2011-09-04 10:32:06 EDT Incoming call... Address given to client = 192.168.x.128

Sun Sep 4 10:32:06 2011 : Directory Services Authentication plugin initialized

Sun Sep 4 10:32:06 2011 : Directory Services Authorization plugin initialized

Sun Sep 4 10:32:06 2011 : L2TP incoming call in progress from '72.254.xx.xx'...

Sun Sep 4 10:32:06 2011 : L2TP received SCCRQ

Sun Sep 4 10:32:06 2011 : L2TP sent SCCRP

2011-09-04 10:32:10 EDT Incoming call... Address given to client = 192.168.x.129

Sun Sep 4 10:32:10 2011 : Directory Services Authentication plugin initialized

Sun Sep 4 10:32:10 2011 : Directory Services Authorization plugin initialized

Sun Sep 4 10:32:10 2011 : L2TP incoming call in progress from '72.254.xx.xx'...

Sun Sep 4 10:32:10 2011 : L2TP received SCCRQ

Sun Sep 4 10:32:10 2011 : L2TP sent SCCRP

2011-09-04 10:32:14 EDT Incoming call... Address given to client = 192.168.x.130

Sun Sep 4 10:32:14 2011 : Directory Services Authentication plugin initialized

Sun Sep 4 10:32:14 2011 : Directory Services Authorization plugin initialized

Sun Sep 4 10:32:14 2011 : L2TP incoming call in progress from '72.254.xx.xx'...

Sun Sep 4 10:32:14 2011 : L2TP received SCCRQ

Sun Sep 4 10:32:14 2011 : L2TP sent SCCRP

2011-09-04 10:32:15 EDT --> Client with address = 192.168.x.140 has hungup

2011-09-04 10:32:16 EDT --> Client with address = 192.168.x.141 has hungup

2011-09-04 10:32:18 EDT --> Client with address = 192.168.x.142 has hungup

2011-09-04 10:32:22 EDT --> Client with address = 192.168.x.143 has hungup

2011-09-04 10:32:26 EDT --> Client with address = 192.168.x.128 has hungup

2011-09-04 10:32:30 EDT --> Client with address = 192.168.x.129 has hungup

2011-09-04 10:32:34 EDT --> Client with address = 192.168.x.130 has hungup

Sep 4, 2011 8:39 AM in response to edljedi

Well I went looking through my old logs and found the steps that are used on the server when establishing a L2TP connection.


Sat Jul 23 11:00:30 2011 : L2TP received SCCRQ

Sat Jul 23 11:00:30 2011 : L2TP sent SCCRP

Sat Jul 23 11:00:30 2011 : L2TP received SCCCN

Sat Jul 23 11:00:30 2011 : L2TP received ICRQ

Sat Jul 23 11:00:30 2011 : L2TP sent ICRP

Sat Jul 23 11:00:30 2011 : L2TP received ICCN

Sat Jul 23 11:00:30 2011 : L2TP connection established.

Sat Jul 23 11:00:30 2011 : using link 0

Sat Jul 23 11:00:30 2011 : Using interface ppp0

Sat Jul 23 11:00:30 2011 : Connect: ppp0 <--> socket[34:18]


Seems to be either the server is sending the SCCRP and the client isn't getting it or the client is getting it but it's not right and so isn't sending back the SCCCN. I have no idea what any of those terms mean. I had looked through the Guide to IPSec VPNs by the National Institute of Standards and Technology but it was a little overarching and didn't have those terms. More digging. Ugh.

Sep 8, 2011 2:55 PM in response to bradfrommilwaukee

The one piece of feedback I got from the Apple Bugreporter process on this asked *how* I created the accounts -- so the fact that four of your eight work, Brad, indicates that they too are aware that the key to this working is somehow possibly associated with accounts themselves.


I've created accounts through both the simple Server.app as well as Server Admin utilities, neither worked for me, but, that doesn't mean that the problem can't still be there somewhere.


I'm NOT running Open Directory, which also may be a factor.


Frustrating that this still doesn't work, months in!

Sep 8, 2011 4:50 PM in response to bradfrommilwaukee

Interesting. I have my server set up as an OD Master. I have tried to authenticate the VPN with an account (the initial admin account) which is outside OD and an admin account created in OD. I might have to start creating some more accounts and see if I can connect with them.


Which method did you use to create your accounts in OD?


On a side note, I have gotten around some of the stuff I was tring to do by enabling Back To My Mac on some of the machines inside my network. Worked like a charm without having to VPN. Too bad I can't do the same with my XP machine.

Sep 11, 2011 3:32 AM in response to collinssolutions

I had a similar issue. I tried deleting and re-adding the user accounts and checking other suggestions in this and other VPN threads, but none resolved the problem.


It turned out I had misconfigured the DNS for the server by having a Primary Zone of servername.domain.local instead of just domain.local. I fixed that, re-added my server under the Primary Zone, checked the forwarders, restarted DNS, and users' VPN could connect again.

Sep 12, 2011 9:57 AM in response to collinssolutions

On my VPN server, which is also the DNS server, I have a Primary Zone setup similar to the following. My server is named "servera", a second named "serverb", and my domain is "mydomain.local":


mydomain.local

servera.mydomain.local 10.20.0.1

serverb.mydomain.local 10.20.0.2



The reverse zones are created automatically.


Under settings, I make sure I have the proper forwarders. In my case it is the DNS servers for my ISP.

Lion Server VPN

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.