Posted on 02-18-2015 06:43 AM
Hi Folks,
I have a requirement to create VPN connection at 200 Macs which I'm able to do so via Configuration Profiles. However I also need to make sure below two settings must be applied along with VPN connection
I tried using composer however it is unable to capture the changes done under DNS search domains section irrespective of the Composer method. Although It picked up VPN status menu bar setting however it is overwriting the icons which are already present in menu bar. My requirement is just to add VPN icon in menu bar without touching their existing icons in menu bar.
If you need any further information then please let me know.
Any assistance to achieve this would be appreciated.
Thanks
Navdeep
Posted on 02-18-2015 07:38 AM
For adding VPN to the menubar look at https://jamfnation.jamfsoftware.com/discussion.html?id=9745
Adding a search domain can be done using, where VPN is the name of your networkservice.
#!/bin/sh
networksetup -setsearchdomains VPN legacydomain.com secondlegacydomain.com additionaldomain.org evenmoresearchdomain.net
Posted on 02-18-2015 07:56 AM
Many thanks, I'll give it a shot & get back to you.
Posted on 02-18-2015 09:16 AM
Hi,
I tried running below commands manually but it is still not adding VPN icon in menu bar. Mac OS is 10.9.5
defaults write com.apple.systemuiserver menuExtras -array-add "/System/Library/CoreServices/Menu Extras/vpn.menu"
killall SystemUIServer -HUP
Anything which I missing here?
Thanks
Posted on 02-20-2015 07:52 AM
Just posted this as I noticed a couple of VPN questions lately, hope it helps.
- Justin