X-Git-Url: https://code.communitydata.science/nu-vpn-proxy.git/blobdiff_plain/4bb6708dc1c336cd29766d3094bfd053181a6aa3..2970f2c70235c88029d3248c6c47ac0ecb6718c4:/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}"