Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.07 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.07 KB

UHVPN from command line

Scripting UH VPN access from command line when authentication via web browser is required.

To run:

python connect_UHVPN.py

Advanced usage:

python connect_UHVPN.py -u ab12ced@herts.ac.uk

Requirements

Chrome web browser

The script is using Chrome, but it could be adapted to work with Firefox as well.

Webdriver-manager & selenium

Selenium is for browser automation. It requires a browser driver. Follow the instructions on the selenium site depending on your OS to install one. Or get it all via the wonderful conda/mamba:

mamba create -n selenium_env selenium webdriver-manager

Openconnect

Get openconnect via your favourite package manager (recommended) or from the openconnect website.

Compatibility

Tested under MacOS. Should run under Linux. Will most likely not run under Windows since it uses "sudo" to launch openconnect.

NO WARRANTY. USE AT OWN RISK.