Difference between revisions of "EBC Exercise 07 Connecting to Rose VPN"

From eLinux.org
Jump to: navigation, search
m (Added openconnect)
Line 1: Line 1:
 
[[Category:ECE497]]
 
[[Category:ECE497]]
 
{{YoderHead}}
 
{{YoderHead}}
Here are  instructions for connecting to Rose-Hulman's VPN via Global Connect.
+
Here are  instructions for connecting to Rose-Hulman's VPN.
 +
Two methods are presented, one uses the open-source [[openconnect|https://www.infradead.org/openconnect/]],
 +
the other uses [[Global Connect|https://www.globalconnect.net/]].
 
([https://roseshare.rose-hulman.edu/storage/u.svc/download.dn/fid/816521741589750591_13592231390549000959 Rose Global Connect Instructions])
 
([https://roseshare.rose-hulman.edu/storage/u.svc/download.dn/fid/816521741589750591_13592231390549000959 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.
 
On the bone, get the installation file and untar it.

Revision as of 14:24, 9 September 2020

thumb‎ 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




thumb‎ Embedded Linux Class by Mark A. Yoder