Re: Create VPN connections
Re: Create VPN connections
- Subject: Re: Create VPN connections
- From: Jeff Schindler <email@hidden>
- Date: Sat, 28 May 2011 14:48:41 -0400
On May 27, 2011, at 11:43 AM, Quinn The Eskimo! wrote:
>
> On 27 May 2011, at 16:18, Jeff Schindler wrote:
>
>> I started looking into using the SCNetworkConfiguration APIs, but I'd want to know first that it will allow me to create/delete services for pptp, l2tp and ipsec.
>
> The SCNetworkConfiguration API is definitely the way to go here, and it will let you create all of these services. It's non-trivial to get this right though. I've helped a couple of developers do this as part of DTS support incidents, and I've collected together my experience in the document at the end of this email. Take a look and let me know if anything is unclear.
>
Thanks, Quinn - that's perfect. We'll use your documentation and open up a DTS incident if need be.
The other issue we are having is with managing the connection state. We can initiate the connection ok through AppleScript, but it's hard to get reliable status (error, external disconnect, etc). If you have any tips along that front, it would also be appreciated.
Thanks,
Jeff _______________________________________________
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