X-Git-Url: https://code.communitydata.science/nu-vpn-proxy.git/blobdiff_plain/bd194355a4608d6b74c22e6f06e39827de3be384..d3e33481209265a1f4d3c34648261419257a72e9:/openconnect_command-http.sh diff --git a/openconnect_command-http.sh b/openconnect_command-http.sh index 0c519c6..e7821b8 100755 --- a/openconnect_command-http.sh +++ b/openconnect_command-http.sh @@ -9,7 +9,7 @@ exec > $LOG_FILE cd ~/bin/nu-vpn-proxy ## do the authentication -eval $( ./gp-saml-gui.py -v --clientos=Linux vpn-connect2.northwestern.edu ) +eval $( ./gp-saml-gui.py -v --gateway --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}"