- Open Tools > Script Editor
- Paste code
- Save as
Application
(notScript
) with nameovpn-control
- Create file
ovpn-control-trusted-wifi-ssids.txt
nearovpn-control
with list of trusted SSIDs (one per line) - Add
ovpn-control
application to autolaunch - To hide icon from dock add into
Info.plist
: