Skip to content

Instantly share code, notes, and snippets.

View 0proto's full-sized avatar

Evgeniy Kornev 0proto

View GitHub Profile
@0proto
0proto / vpn-utilities.applescript
Created May 13, 2016 14:22 — forked from iloveitaly/vpn-utilities.applescript
Configure / create VPN connections via applescript
-- Author: Michael Bianco <http://mabblog.com/>
-- Some help from: http://discussions.info.apple.com/message.jspa?messageID=10363317
on create_vpn_service(vpn_name)
tell application "System Preferences"
reveal pane "Network"
activate
tell application "System Events"
tell process "System Preferences"