Wednesday, October 31, 2007

Cisco VPN Client on the Mac - Strangest Issue Ever

If you are running Mac OSX, the Cisco VPN and have Parallels installed and your VPN connection only stays up for 5 seconds at a time and you are seeing these errors:
Secure VPN Connection terminated locally by the Client.
Reason 422: Lost contact with the security gateway. Check your network connection
Check out this thread.

Basically, you need to disable disable Parallels' networking:
1. Apple > System Preferences > Network
2. Double click "Parallels NAT"
3. Change "Configure IPv4: Using DHCP" to "Off"
4. Click the "Show:" pulldown to find "Paralells Host-Guest"
5. Change "Configure IPv4: Using DHCP" to "Off"
At first read I didn't even consider trying it as it seemed completely outlandish, after getting more frustrated I decided to give it a go. Worked immediately. Obviously, I created a new "Location" with these settings.

Also, if you can't connect at all and see these errors:

Output size mismatch. Actual: 0, Expected: 237.
Check out this thread. Make sure to either reboot or restart the cvpnd process.

8 comments:

Anonymous said...

Thanks a lot, this thread has really helped me!

Anonymous said...

Awesome! - tried for ages to fix this.

Bernardo said...

Indeed it works (the Cisco VPN), but the problem is that you loose network acess on your Parallels VM. Do you know of any trick to use (at the same time) cisco vpn and Parallels VM machines with network?

Thanks in advance!

Bernardo

Anonymous said...

me gustado mucho el articulo.

Me ayudado mucho.

gracias

eirrann said...

Have you had any more recent experience with this? MacBook Pro running the latest version of leopard, latest version of cisco 4.9. had both vmware and parallels on my machine, removed them completely but still can't get VPN connection via USB stick modem...

Mary Shane said...

This works for me. i thought I was just the only one who'd experiences this glitch. I am really glad i came across this site. this is really helpful! Thank you!


vpn

Mary Shane said...
This comment has been removed by the author.
Anonymous said...

Thanks.Good solution for VPN client.
top10-bestvpn.com