EBC Exercise 07 Connecting to Rose VPN
Embedded Linux Class by Mark A. Yoder
Here are instructions for connecting to Rose-Hulman's VPN.
Two methods are presented, one uses the open-source https://www.infradead.org/openconnect/,
the other uses https://www.globalconnect.net/.
(Rose Global Connect Instructions)
openconnect
To install openconnect, simply:
bone$ sudo apt update bone$ sudo apt install openconnect
Once installed make sure you have version 8 or newer.
bone$ openconnect --version OpenConnect version v8.02-1+deb10u1 Using GnuTLS. Features present: TPMv2, PKCS#11, RSA software token, HOTP software token, TOTP software token, Yubikey OATH, System keys, DTLS, ESP Supported protocols: anyconnect (default), nc, gp
Global Connect
The is the method used by Rose's VPN provider.
On the bone, get the installation file and untar it.
bone$ cd /tmp bone$ VERS=PanGPLinux-5.1.1-c17.tgz bone$ wget -O $VERS https://roseshare.rose-hulman.edu/storage/u.svc/download.dn/fid/5504766564276453800_3845984564090334472 bone$ tar -xvf $VERS
Install.
bone$ sudo apt install ./GlobalProtect_deb_arm-5.1.1.0-17.deb
Run the VPN. Substitute your Rose username for username.
bone$ globalprotect >> connect -p gp.rose-hulman.edu -u username@rose-hulman.edu Retrieving configuration... gp.rose-hulman.edu - Enter login credentials (e.g. username@rose-hulman.edu) username(yoder@rose-hulman.edu): Password: Discovering network... Connecting... Connected >> quit
You are now connected. Find you Rose ip address.
bone$ ip a show gpd0 3: gpd0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast state UNKNOWN group default qlen 500 link/none inet 137.112.193.177/32 scope global gpd0 valid_lft forever preferred_lft forever
Disconnect when done.
bone$ globalprotect >> disconnect >> quit
Embedded Linux Class by Mark A. Yoder