• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: System Configuration Framework and PPTP (VPN) Connections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Configuration Framework and PPTP (VPN) Connections


  • Subject: Re: System Configuration Framework and PPTP (VPN) Connections
  • From: Suraj Rai <email@hidden>
  • Date: Sat, 13 Nov 2004 15:35:33 +0900

Hi all,

So ... is it possible to use SCF or MoreSCF to create a PPTP based VPN connections? Has anybody done it? All the sample code I have seen revolves around PPP over a modem but I have not seen anything for PPTP. Any suggestions or even a "yes it is possible" would be great.

How is the Internet Connection.app written?  Does it use SCF underneath?

Thanks,

S.r.


On Nov 9, 2004, at 1:01 AM, Suraj Rai wrote:


On Nov 9, 2004, at 12:06 AM, Quinn wrote:

At 1:29 +0900 8/11/04, Suraj Rai wrote:
I noticed some sample code that was recently added on the ADC website detailing using SCF to create a PPP connection:

	http://developer.apple.com/samplecode/SimpleDial/SimpleDial.html

Would it be possible to use this to also create a PPTP connection? I believe PPTP is encapsulated by PPP in SCF so I am thinking this may be possible but I just wanted to ask here to get your opinions.

This code shows how to 'dial' a connection that's already been configured; it should work for 'dialling' PPPoE just as well as for dialling PPP. However, to create an entirely new PPP connection from scratch, you'll probably want to look at MoreSCF, which has a high-level routine that shows how to do this.

Actually I was more interested in PPTP which I assume works similarly to PPPoE or PPP? I am unable to define a PPTP connection in System Preferences so perhaps PPTP does not work with this?


Do you want your PPPoE configuration to be persistent? That is, do you want the configuration to continue to exist after your app has quit? If so, go look at MoreSCF 'cause that's the way to go.

Yes I do want the PPTP configuration to be persistent however I am a bit confused with the relationship between entries stored in the persistent/dynamic store of System Configuration vs. those stored in the Internet Connection application. Are these related at all?



If you want a non-persistent PPP[oE] connection, MoreSCF (which is based on SCPreferences) may not be the best approach. There was talk inside Apple of supporting non-persistent PPP[oE] connections via SCNetworkConnection. I don't know what happened in the end; and, alas, I'm not in a position to research this right now (I'm on the road).

Thanks very much.

S.r.

_______________________________________________ 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
References: 
 >System Configuration Framework and PPTP (VPN) Connections (From: Suraj Rai <email@hidden>)
 >Re: System Configuration Framework and PPTP (VPN) Connections (From: Quinn <email@hidden>)
 >Re: System Configuration Framework and PPTP (VPN) Connections (From: Suraj Rai <email@hidden>)

  • Prev by Date: Re: Converting float array to UInt8 for writing to a stream.
  • Next by Date: System Configuration came online ???
  • Previous by thread: Re: System Configuration Framework and PPTP (VPN) Connections
  • Next by thread: How to "Show PPPoE status in menu bar"
  • Index(es):
    • Date
    • Thread