]> code.communitydata.science - nu-vpn-proxy.git/blobdiff - openconnect_command-http.sh
update README-CDSC file to make the new openconnect issue clear
[nu-vpn-proxy.git] / openconnect_command-http.sh
index 0c519c62e6fe6371fa325ab884ecb1acb3b043c8..e7821b88da21f27e1f42b5cb1e9a79ff4b65e5ee 100755 (executable)
@@ -9,7 +9,7 @@ exec > $LOG_FILE
 cd ~/bin/nu-vpn-proxy
 
 ## do the authentication
 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}"
 
 
 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}"

Community Data Science Collective || Want to submit a patch?