L2TP, You're Killing Me
July 25, 2007 8:31 AM
Subscribe
Why can't I connect to an L2TP VPN on my Mac?
I'm trying to set myself up to work from home, and am failing miserably. My office runs an L2TP VPN on Microsoft IIS. I would like to connect to it with my Mac, which runs 10.4.10. When I attempt to connect, however, after about a minute of nothing I get the message: "The server did not respond. Please verify the server address and try again."
The Internet Connect Connection Log says merely:
L2TP connecting to server 'servername' (X.X.X.X)...
L2TP cannot connect to the server
My understanding is that L2TP is handled by racoon under the hood, but I haven't been able to find any trace of /var/log/racoon.log (which presumably could get me more detailed information). The entries in system.log are identical to the Internet Connect Connection Log.
Configuration:
Given the paltry of options provided by Apple in Internet Connect, I think I've got everything configured per the instructions from my office. User authentication is via password. Machine authentication is via certificate.
Network:
I have failed to connect from behind a NAT, behind a NAT with ports 500, 4500 and 1701 forwarded, behind a NAT but DMZ'd, and just plain out on the internet. My system firewall is turned off, and although I run Little Snitch I've got it turned off for testing purposes. The VPN server isn't behind any other devices.
For the especially technical among you, I have included the following tcpdump, which includes all of the packets going between the two machines during a connection attempt:
IP tsmo.500 > vpnserver.500: isakmp: phase 1 I ident
IP vpnserver.500 > tsmo.500: isakmp: phase 1 R ident
IP tsmo.500 > vpnserver.500: isakmp: phase 1 I ident
IP vpnserver.500 > tsmo.500: isakmp: phase 1 R ident
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP vpnserver.4500 > tsmo.4500: NONESP-encap: isakmp: phase 1 R ident[E]
IP vpnserver > tsmo: udp
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 2/others I inf[E]
IP vpnserver.4500 > tsmo.4500: NONESP-encap: isakmp: phase 1 R ident[E]
IP vpnserver > tsmo: udp
IP vpnserver.4500 > tsmo.4500: NONESP-encap: isakmp: phase 1 R ident[E]
IP vpnserver > tsmo: udp
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP vpnserver.4500 > tsmo.4500: NONESP-encap: isakmp: phase 1 R ident[E]
IP vpnserver > tsmo: udp
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP vpnserver.4500 > tsmo.4500: NONESP-encap: isakmp: phase 2/others ? inf[E]
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP vpnserver.4500 > tsmo.4500: NONESP-encap: isakmp: phase 1 R ident[E]
IP vpnserver > tsmo: udp
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP tsmo.4500 > vpnserver.4500: NONESP-encap: isakmp: phase 1 I ident[E]
IP tsmo > vpnserver: udp
IP vpnserver.4500 > tsmo.4500: NONESP-encap: isakmp: phase 1 R ident[E]
IP vpnserver > tsmo: udp
IP vpnserver.4500 > tsmo.4500: NONESP-encap: isakmp: phase 2/others R inf[E]
Lil help?
posted by tsmo to computers & internet (6 comments total)
Also, try using PPTP not L2TP.
posted by purephase at 11:09 AM on July 25, 2007