...
To install OpenConnect, you’ll need to ensure you have Homebrew installed on your Mac. If you do not already have Homebrew installed, visit https://brew.sh/ and follow the instructions for installation.
Open Terminal (Applications > Utilities > Terminal).
First, ensure Homebrew is up-to-date using the following command.
Code Block language bash $ brew update
After Homebrew finishes updating, run the following command to install OpenConnect.
Code Block $ brew install openconnect
OpenConnect should now be installed.
Using OpenConnect
Once OpenConnect has been installed, you are ready to connect.
Info |
---|
For a list of available Realms, see Cisco AnyConnect VPN Realms |
Starting OpenConnect
To start the VPN connections enter the following command in Terminal, where $realm is the Realm you would like to connect to (e.g., anyconnect.uconn.edu/split or anyconnect.uconn.edu/priv).
Code Block language bash sudo openconnect anyconnect.uconn.edu/$realm
You will be prompted to enter your Password (for sudo), followed by your NetID and Password.
Once entered, you will see a bunch of text, which is OpenConnect setting up your session. You can tell you are connected when you see the following message, with $IP_ADDRESS being the IP you receive from AnyConnect:
Code Block | ||
---|---|---|
| ||
Established DTLS connection (using GnuTLS). Ciphersuite (DTLS1.2)-(ECDHE-RSA)-(AES-256-GCM). Configured as $IP_ADDRESS, with SSL connected and DTLS connected Session authentication will expire at Thu Feb 24 04:47:42 2022 add host 137.99.22.58: gateway 192.168.1.1 add net 10.195.96.0: gateway 10.195.97.30 add net 52.202.147.91: gateway 10.195.97.30 add net 10.0.0.0: gateway 10.195.97.30 add net 137.99.0.0: gateway 10.195.97.30 add net 137.99.25.14: gateway 10.195.97.30 add net 137.99.203.20: gateway 10.195.97.30 |
...