I would like to establish a VPN connection with MacOS X builtin tools like racoon and racoonctl. It should work as System Preferences uses a similar way to establish configured VPN connections. Thus I tried to replicate the necessary steps.
When a VPN connection is started via System Preferences, I copied over the XXX.XXX.XXX.XXX.conf file for racoon from /var/run/racoon. Then I use exactly the same configuration to start racoon via the command line. When it is up and running, I use racoonctl -vpn-connect to establish the connection with the remote VPN. Next I get "Bound to address 134.130.244.19" in Terminal, which should imply that I successfully connected to the VPN endpoint, BUT...
racoon first tells me "ISAKMP-SA established", which is fine, but it is missing the corresponding "IPsec-SA established", which should normally follow. My guess is that there is something wrong with the SA policies. Or do I missunderstand the racoonctl tool - I thought that it would fully control the VPN connection establishment for me and that I don't have to use setkey manually?!
It would be great to find someone who successfully established a VPN connection via MacOS X command line utilities (racoon/racoonctl) and who could explain it to me in depth...
Cordially,
Fabian
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden