17
0
nu-vpn-proxy/openconnect_command-general.sh
2020-06-09 16:04:15 -07:00

11 lines
394 B
Bash
Executable File

#!/bin/bash
# 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" | sudo openconnect --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