X-Git-Url: https://code.communitydata.science/nu-vpn-proxy.git/blobdiff_plain/94e337f5c2293a2c96762f0d071c42357b4482bc..591a5c806b4739156531ca8a3f58566e1abf5f7c:/openconnect_command-http.sh?ds=sidebyside diff --git a/openconnect_command-http.sh b/openconnect_command-http.sh deleted file mode 100755 index 0c519c6..0000000 --- a/openconnect_command-http.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -LOG_FILE=/tmp/nu-globalprotect-saml.log -PID_FILE=/tmp/nu-vpn-openconnect_http.pid - -exec > $LOG_FILE - -# change to the vpn file directory -cd ~/bin/nu-vpn-proxy - -## do the authentication -eval $( ./gp-saml-gui.py -v --clientos=Linux vpn-connect2.northwestern.edu ) - - -echo "$COOKIE" | /usr/sbin/openconnect --verbose --useragent="PAN GlobalConnect" --version-string='5.1.0-101' --protocol=gp -u "$USER" --os="$OS" --passwd-on-stdin "$HOST" --csd-wrapper="hipreport-modified.sh" --reconnect-timeout 60 --script-tun --script "ocproxy -D 8181 --keepalive 5 --verbose" -b --pid-file "${PID_FILE}" - -