Install on macOS¶
Experimental
The macOS tray is written but not yet verified on a real Mac. The code
paths (utun detection, LaunchAgent autostart, sudo killall openconnect)
are in place and the binary builds in CI, but it hasn't had a live test. If
you try it, feedback
is very welcome.
macOS works the same way as Linux: openconnect-sso does the SAML auth and
launches openconnect via passwordless sudo, and the app is a lean tray.
1. Prerequisites¶
Passwordless sudo for openconnect (so the tray can bring the tunnel up):
which openconnect — /usr/local/bin/openconnect on Intel Macs.)
2. Install the app¶
Download automatic-vpn-macos from the
latest release.
It's unsigned, so Gatekeeper will block it on first launch:
right-click → Open → Open, or
xattr -d com.apple.quarantine automatic-vpn-macos.
3. First run¶
The setup dialog opens (email / server / group + password / TOTP → details). The tray icon connects/disconnects.
4. Autostart¶
Tray menu → “Autostart beim Login” writes a LaunchAgent
(~/Library/LaunchAgents/at.uni-graz.automatic-openconnect.plist) that starts
the tray at login.