-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration groupings #17
Comments
Hi! So I created an L2TP service with multiple configurations and expected this command open /Library/Preferences/SystemConfiguration/preferences.plist to include the different configurations (that command comes from the readme). But alas, they are not there. I expected one of these From this point on I'd only have google as my only help, too. Sorry to tell you that. Additionally, the word "configuration" is also used here which is not the same as in your screenshot. It's a general term for the whole set of configuration parameters of a VPN service. All this stuff is absolutely not documented anywhere. I had to dig around a lot, too :( |
Thanks for getting back to me. my previous solution was an apple script to do all of this, but it is a horrible kludgy mess. I hope I can figure this out and contribute back to this project. if you never hear back from me know that I fought the good fight! |
😃 Indeed, Apple Script was the predecessor to macosvpn as well, don't let's talk about it :D |
In fact, your last way out might be to ask on the apple mailing list because apparently there are apple developers hidden in there :) If we only know what that configuration dropdown "feature" is called internally, we might be able to google much more specifically. |
Ok, i'll keep digging around. I will also ask in the mailing list and hope that someone bites |
So I tried doing a file system trace using the instruments app on my Mac while I modified the vpn configuration. Amazingly enough there were no file writes that corresponded with my action. I have no clue what manner of sorcery is at play here, but I've now appealed to the higher powers of the mailing list. |
Got a reply from an Apple Dev. going to try and track down the lead |
Wow! That's like seeing a light at the end of a (VPN) tunnel ;) |
Looks like this is only available for 10.10 and above and it is still not clear to me how to create new "configurations" from this. :-( |
Sorry to hear. Posting the reply here for documentation purposes:
|
Also,
I guess that also applies to Mac OS, not only iOS (?) Anyway, this video clarified that the |
So what Quinn said
Appears to contradict this statement:
So, only L2TP services have VPN configurations, but then again those are not surfaced anywhere except in the new framework which doesn't have L2TP at all? 😕 |
Yeah seems really weird. I guess it is not possible in the way I envisioned. |
Thanks for all of your help on this |
Workaround for the DNS pane configuration: sudo networksetup -setdnsservers my_service_name 8.8.8.8 4.4.4.4 |
Thanks for this great utility, I'm about to fork it and attempt to add some grouping functionality to it, but I wanted to pick your brain and see if you knew what would be needed in order to do so.
In the Network preferences UI we have the ability to add multiple configurations to the same VPN connection as seen in the screenshot below, any idea how to replicate this functionality via scutil? any help I can get would be wonderful
Thanks
The text was updated successfully, but these errors were encountered: