VPN with Lion not working?
I can't get a connection over VPN with L2TP over IPSec. Same settings as in Snow Leopard. Is anyone able to connect with VPN?
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
I can't get a connection over VPN with L2TP over IPSec. Same settings as in Snow Leopard. Is anyone able to connect with VPN?
Im not a VPN power user, but I was able to use my VNC app on the iPhone to connect to my Mac Mini running Lion. Might be unrelated, but I also had to tinker with the system to get screen sharing with control when connecting from Mac Mini 1 to Mac Mini 2 (and vice-versa) using command K. Before there was no need to mess with "remote management" in "Sharing" under Sys Pref, but now there is.
What I'm actually trying to do is to connect to our VPN Server at work. I don't know what is used at work, I'm assuming Windows, but under Snow Leopard I had to put in server name, user and password. I clicked on connect and that was it.
I did an installation from scratch and re-created my VPN connections (4). All VPNs are headed to different Mac OS X Snow Leopard Servers. None of them work, Lion doesn't seem to be able to connect to them.
Jul 24 00:54:12 kain-osx racoon[483]: IPSec Phase1 started (Initiated by me).
Jul 24 00:54:12 kain-osx racoon[483]: IKE Packet: transmit success. (Initiator, Main-Mode message 1).
Jul 24 00:54:12 kain-osx racoon[483]: IKE Packet: receive success. (Initiator, Main-Mode message 2).
Jul 24 00:54:12 kain-osx racoon[483]: IKE Packet: transmit success. (Initiator, Main-Mode message 3).
Jul 24 00:54:12 kain-osx racoon[483]: IKE Packet: receive success. (Initiator, Main-Mode message 4).
Jul 24 00:54:12 kain-osx racoon[483]: IKE Packet: transmit failed. (Initiator, Main-Mode Message 5).
I also did a clean install. I booted my Snow Leopard from backup. I opened VPN and I could connect to our Server at work. No problems there. So it looks like it is definetly a Lion Problem.
I notised this in the Beta. It seems that Lion unlige the previos versions is not serving the Local IPs. For instance in SLS (Snow Leopard Server) you could set the internal VPN IPs to 10.10.1.3 -10.10.1.10 this was ok and when you connec via VPN you get one of those IPs. Now with lion it does not do that. But if you use an IP on the same subnet then it does work. so it looks like the "VPN Server" or Internal IP pool portion was removed from the OS. NOt sure if there is going to be a fix. but thats just as bad as the no more reall world firewall blocking in the Lion OS. I guess we will see if it changes
I have tested this quite a bit now. I cannot log in using L2TP VPN on Lion 10.7.0, to an updated Snow Leopard Server OR to an updated Lion Server. I CAN log in using the same settings to a Snow Leopard server. Thing is that connecting to the Snow Leopard server doesn't even see the VPN client coming in. The Error I get on the client side is that the L2TP server is not responding... Whereas when I attempt to connect to my Lion Server I get Authentication failed.
The SL server is running OD and I have configured the services so that the VPN service is accessable to the VPN group only. The Lion server is only running server and has only "local" users. This is probably why the server returns "Authentication failed." The log on the SL server doesn't even have an entry when I attempt to connect using my Lion client. When I connect with my iPhone or iPad or Snow Leopard client the server logs about 30 lines of messages. Again, the settings are exactly the same. It's like there's a firewall blocking VPN from connecting in Lion.
I have tried this using an internal address (local on the same network as the servers) and an external address (from the outside).
I have 2 other users with MacBooks that simply updated in place to Lion and cannot connect. In my case I have a MacBookPro and I did a clean SL install, Update, then download and update of Lion. After that I configured my VPN services. Today I also created a partition on my drive with SL, Updated it and configured the VPN services. It works fine.
I would not think we are the only one's using this. Anyone else using VPN services out there?
Update.
I have now tested the connection on 4 different servers. Lion client (no updates released yet) to Snow Leopard Servers. 2 servers have been updated to 10.6.7. They work fine. Connect...Enter Password...Authenticating...and we are in! The other two servers have had the 10.6.8 update applied. One with 10.6.8 the other with 10.6.8v1.1. Neither even responds to the request. Both return the message "The L2TP-VPN server did not respond. Try reconnecting. If the problem continues, verify your settings and contact your Administrator."
Just to review ALL servers still work fine with a SL client.
Look like I have the exact problem. I've tried coonect to my new lion server from my iMac with lion client.
After around 30 sec, the lion client prompt error said server is not responding.
Update.
My iMac Lion client now can connect to the Lion Server through L2TP once I remove/rename this file "/Library/Preferences/SystemConfiguration/com.apple.RemoteAccessServers.plist" on the Lion Server. The Server.app will generate this file again once you change the VPN settings.
I have tried your trick, Minanke, to no success. Alas! In my server's log, I get the familiar
8/8/11 7:05:04.866 PM com.apple.ppp.l2tp: 2011-08-08 19:05:04 MDT Incoming call... Address given to client = 192.168.1.227
8/8/11 7:05:04.878 PM pppd: pppd 2.4.2 (Apple version 560.12) started by root, uid 0
8/8/11 7:05:04.880 PM pppd: L2TP incoming call in progress from 'my external ip'...
(repeat five times)
8/8/11 7:05:24.144 PM vpnd: --> Client with address = 192.168.1.227 has hungup
over and over again; on my client's log, I get
8/8/11 7:05:06.117 PM pppd: L2TP cannot connect to the server
8/8/11 7:05:06.169 PM racoon: IKE Packet: transmit success. (Information message).
8/8/11 7:05:06.170 PM racoon: IKEv1 Information-Notice: transmit success. (Delete IPSEC-SA).
8/8/11 7:05:06.173 PM racoon: IKE Packet: transmit success. (Information message).
8/8/11 7:05:06.174 PM racoon: IKEv1 Information-Notice: transmit success. (Delete IPSEC-SA).
8/8/11 7:05:06.207 PM racoon: IKE Packet: transmit success. (Information message).
8/8/11 7:05:06.207 PM racoon: IKEv1 Information-Notice: transmit success. (Delete ISAKMP-SA).
And what's very very interesting is that my password can be either correct or incorrect for the same result. That seems interesting. Just thought I'd share that.
I can confirm the same problem. Have an existing Snow Leopard VPN Server (L2TP IPSec). iPod touches, iPhones, and Snow Leopard macs connect with no problem. New install of Lion on a Macbook air cannot connect to the Snow Leopard VPN Server.
Just recall, I have to change the Access Control of the "com.apple.net.racoon" entry in the Keychain to "Allow all application to access this item". Otherwise the vpnd cannot retrieve the share secret.
You're not alone and it's not only affected the VPN but the AFP, as well. Just played "Stump the Apple Support Techi" today! Found out I can't link (access) my 2010 MacBook Air (Lion) or my 2010 MacBook Pro (Lion) from my `08 MacBook Pro (Snow Leopard OSX 10.6.8). Before installing Lion on these, I used to be able to access screen, share music libraries and have access to their HDs! Now nada! Did a Data Capture and Apple now has my Sys configs, network settings, Hardware info, etc to attempt to sort out the issue. Guess we're all in the same boat.Supposed to get a call-back in the next day or so ...
Apple released a 10.7.1 update to Lion today. Installed on my Macbook Air. Did not fix problem for me of connecting over L2TP to vpn server. All pre-lion leopard based mac machines, iphone, and iPad connect with no problem.
I too was in hopes a 10.7.1 update would fix the problem.
Here's what I have found out today.
I have 4 VPN servers all 10.6.x servers (3 Xserves and 1 Mini) (1 working is all up to date, the other is still on 10.6.7). I can successfully log into 2 of them and cannot log in to 2 of them. The server on the unsuccessful trys shows nothing in the VPN log. The local console shows me plenty. A successful log in looks like this.
8/16/11 4:19:02.507 PM racoon: IKE Packet: transmit success. (Initiator, Main-Mode message 5).
8/16/11 4:19:02.542 PM racoon: IKEv1 Phase1 AUTH: success. (Initiator, Main-Mode Message 6).
8/16/11 4:19:02.542 PM racoon: IKE Packet: receive success. (Initiator, Main-Mode message 6).
8/16/11 4:19:02.542 PM racoon: IKEv1 Phase1 Initiator: success. (Initiator, Main-Mode).
8/16/11 4:19:02.542 PM racoon: IPSec Phase1 established (Initiated by me).
8/16/11 4:19:03.088 PM racoon: IPSec Phase2 started (Initiated by peer).
an unsuccessful log in looks like this.
8/16/11 4:21:17.768 PM racoon: IKE Packet: transmit success. (Initiator, Main-Mode message 5).
8/16/11 4:21:20.538 PM racoon: Received retransmitted packet from 10.1.1.227[500].
8/16/11 4:21:20.538 PM racoon: IKE Packet: transmit success. (Phase1 Retransmit).
8/16/11 4:21:23.538 PM racoon: Received retransmitted packet from 10.1.1.227[500].
8/16/11 4:21:23.538 PM racoon: IKE Packet: transmit success. (Phase1 Retransmit).
This is not the whole conversation, simply where things go bad. Message 6 seems to be the AUTH Message that the server never receives. I have deleted and recreated the VPN setting for the ones that don't work. I have tried saving my password with the settings. I even tried typing the wrong password. I have also tried typing in a bogus Shared Secret on the Lion client side. I have a SL partition that I have set up the VPN and everything works fine to all four servers. Only Lion 10.7.1 and only to two of the four servers. I have tried replacing the Shared Secret with the same text on both sides (copy and paste). I have tried using Full Name and shortname. As I said it doesn't matter if the password OR shared secret are right or wrong the error "The L2TP Server is not responding..." comes back every time.
VPN with Lion not working?