VPN to the University of Sydney on Ubuntu

Openconnect makes it easy to use the University of Sydney VPN on Ubuntu.

Install Openconnect

sudo apt-get update
sudo apt-get install openconnect


sudo openconnect -u <unikey> --passwd-on-stdin vpn.sydney.edu.au
<type your password here there is no prompt>

You should see something like this

POST https://vpn.sydney.edu.au/
Connected to
SSL negotiation with vpn.sydney.edu.au
Connected to HTTPS on vpn.sydney.edu.au
XML POST enabled
Please enter your username and password.
POST https://vpn.sydney.edu.au/
Got CONNECT response: HTTP/1.1 200 OK
CSTP connected. DPD 30, Keepalive 20
Connected as, using SSL
Established DTLS connection (using GnuTLS). Ciphersuite (DTLS0.9)-(DHE-RSA-4294967237)-(AES-256-CBC)-(SHA1).

That’s all!