1 2 3 Previous Next 61 Replies Latest reply: Feb 13, 2014 4:07 PM by tqxw
bwarncke Level 1 Level 1 (0 points)

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?

  • 1. Re: VPN with Lion not working?
    Mr. Louis Level 1 Level 1 (40 points)

    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.

  • 2. Re: VPN with Lion not working?
    bwarncke Level 1 Level 1 (0 points)

    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.

  • 3. Re: VPN with Lion not working?
    masterkain_it Level 1 Level 1 (0 points)

    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).
    
  • 4. Re: VPN with Lion not working?
    bwarncke Level 1 Level 1 (0 points)

    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.

  • 5. Re: VPN with Lion not working?
    blk182n7 Level 1 Level 1 (0 points)

    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

  • 6. Re: VPN with Lion not working?
    imafromKC Level 1 Level 1 (0 points)

    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?

  • 7. Re: VPN with Lion not working?
    imafromKC Level 1 Level 1 (0 points)

    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.

  • 8. Re: VPN with Lion not working?
    Minanke Level 1 Level 1 (0 points)

    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.

  • 9. Re: VPN with Lion not working?
    Minanke Level 1 Level 1 (0 points)

    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.

  • 10. Re: VPN with Lion not working?
    Number 4 Level 1 Level 1 (15 points)

    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.

  • 11. Re: VPN with Lion not working?
    netlogic Level 1 Level 1 (0 points)

    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.

  • 12. Re: VPN with Lion not working?
    Minanke Level 1 Level 1 (0 points)

    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.

  • 13. Re: VPN with Lion not working?
    Dominick Issi Level 1 Level 1 (20 points)

    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 ...

  • 14. Re: VPN with Lion not working?
    netlogic Level 1 Level 1 (0 points)

    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.

1 2 3 Previous Next