- hipreport: updated the client version to match new globalconnect code - hipreport: update linux kernel version to something more modern - disable ESP and IPv6 which seem to be working poorly - change code in ssh wrapper for no ESP
18 lines
613 B
Bash
Executable File
18 lines
613 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LOG_FILE=/tmp/nu-globalprotect-saml.log
|
|
PID_FILE=/tmp/nu-vpn-openconnect_http.pid
|
|
|
|
exec > $LOG_FILE
|
|
|
|
# change to the vpn file directory
|
|
cd ~/bin/nu-vpn-proxy
|
|
|
|
## do the authentication
|
|
eval $( ./gp-saml-gui.py -v --gateway --clientos=Linux vpn-connect2.northwestern.edu )
|
|
|
|
|
|
echo "$COOKIE" | /usr/sbin/openconnect --verbose --useragent="PAN GlobalConnect" --version-string='6.3.0-33' --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}"
|
|
|
|
|