0

I am having trouble with L2TP/IPSec on my OS X 10.7.2 machine and I was wondering what is the best way to figure out which process is taking particular sockets or ports;

My related posts (below), were more particular, but I couldn't figure it out. I am asking more general question, hopefully there would be someone who could help. OS X: how to figure out what prevents L2TP/IPSec from running correctly and OS X 10.7, can't log into any L2TP VPN server

Edit: I tried netstat and lsof but didn't see anything related to my problem. Also it isn't the router (other machines behind it work fine); it is not the firewall (same issue with it off) or LittleSnitch (same issue with it off). There was CiscoANyconnect installed, but the issue persists even after uninstall. My hypothesis is that it changed something that persists even after uninstall.

lupincho
  • 1,778

1 Answers1

0

Ok, I figured it out. It wasn't ports and sockets. Turns out that something (possibly CiscoAnyconnect) has unloaded racoon on startup. To fix (with Anyconnect uninstalled) do the following:

launchctl load -w /System/Library/LaunchDaemons/com.apple.racoon.plist

You may also start racoon manually by:

sudo /usr/sbin/racoon

lupincho
  • 1,778