Skip to content

saiko-psych/automatic-openconnect

automatic-openconnect

Bring up a Cisco AnyConnect–compatible VPN automatically — without typing your password or 2FA code every time.

A system-tray app for Windows, Linux & macOS (one-click connect/disconnect) plus a headless Python library. Your login password and optional TOTP 2-factor seed live in the OS keyring — never in config or logs. A thin automation layer over openconnect-sso.

tests  docs  release  license: MIT

Watch the demo — guided setup → one-click connect → uni webmail through the tunnel → disconnect (recorded in a clean Windows Sandbox).

📖 Documentation

Everything — install, usage, 2FA, troubleshooting, internals — lives here:

Install Windows · Linux · macOS  |  Using it · Two-factor · Security · Troubleshooting · For developers

Get it

  • Windows — download automatic-vpn.exe from the latest release and follow the guided setup.
  • Linux / macOS — a lean tray; prebuilt binary or pip install from source (macOS experimental).

Works with any AnyConnect gateway openconnect-sso can reach. Built for and live-tested against the University of Graz VPN (the default), but nothing is hard-wired — point the server at your own gateway.

License & disclaimer

MIT — see LICENSE. A community tool: no warranty, no affiliation with any VPN operator. The TOTP feature is opt-in. Full notes → Security.

About

Automate a Cisco AnyConnect / OpenConnect VPN — connect without typing your password or 2FA. Windows GUI, Linux/macOS tray + headless Python library.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors