X-Git-Url: https://code.communitydata.science/nu-vpn-proxy.git/blobdiff_plain/94e337f5c2293a2c96762f0d071c42357b4482bc..0b6ace2da35c3d568738e80b712b6ac25a2dd626:/openconnect_command-http.sh?ds=sidebyside 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}"