1 ===========================
2 == INSTALLATION ===========
3 ===========================
7 Install prerequisites. This will include:
9 sudo apt install python3-gi gir1.2-gtk-3.0 gir1.2-webkit2-4.0 openconnect ocproxy
11 Also, note that you'll need at least version 8 of openconnect. If you're not sure what you've got, run:
15 Also also note, that version 8.2 and beyond of openconnect do not seem to work as of May 2023. Consult https://wiki.communitydata.science/CommunityData:Northwestern_VPN
20 Install this directory into: ~/bin/nu-vpn-proxy
24 Change your System UUID in the script. You can get this with the command:
26 sudo dmidecode|grep UUID
28 You should see a line like:
30 UUID: deadbeef-dead-beef-dead-beefdeadbeef
32 Edit the file hipreport-modified.sh to change the variable HOSTID so that it is
33 equal to this number. Change the line that says
34 "deadbeef-dead-beef-dead-beefdeadbeaf" so that it lists your UUID.
38 Change bmh1867 to your username and add the following stanza text to your
41 Host kibo kibo.soc.northwestern.edu
42 Hostname kibo.soc.northwestern.edu
44 ProxyCommand ~/bin/nu-vpn-proxy/ssh-vpn-proxy %h %p
46 ServerAliveInterval 120
48 ===========================
49 == USAGE ==================
50 ===========================
52 There are two ways to use this.
54 1. *Only* for SSH connections to kibo.
56 This should be just as simple as running:
60 You can run the command mulptiple time and it should work. When you close the
61 first connection though, it will disconnect all of your connections.
63 2. Your entire connection.
65 Run the following command:
67 ~/bin/nu-vpn-proxy/openconnect_command-general.sh
69 While this command is running, you should be connected through the VPN. Run