Unimelb VPN using OpenConnect on Arch Linux
Tonight I had to download some data from the unimelb servers for an assignment, however from home you have to connect via vpn to access the "nutmeg" unix server I needed (you can't access them directly over the internet).
To do this, I installed the openconnect
package with sudo pacman -S openconnect
. And then once installed ran this command:
$ sudo openconnect remote.unimelb.edu.au/student POST https://remote.unimelb.edu.au/student Attempting to connect to server 128.250.2.50:443 SSL negotiation with remote.unimelb.edu.au Connected to HTTPS on remote.unimelb.edu.au XML POST enabled Please enter your username and password. Username: Password: POST https://remote.unimelb.edu.au/ Got CONNECT response: HTTP/1.1 200 OK CSTP connected. DPD 30, Keepalive 20 Connected tun0 as 10.9.128.51, using SSL Established DTLS connection (using GnuTLS). Ciphersuite (DTLS0.9)-(RSA)-(AES-128-CBC)-(SHA1).
And then boom, vpn connected and I could ssh with ssh <my_username>@nutmeg.eng.unimelb.au
.</my_username>
Enjoy. And good job for deciding to run Linux at UniMelb.