-
Install Get the archive from http://ainola.sdf.org/NetExtender.Linux.8.0.784.x86_64.tgz Run ./install as root (otherwise it got stuck on Connecting ... for me)
-
Create netextender.sh
-
Create netextender.conf
Forked from youribonnaffe/netExtender Ubuntu install and service
Last active
March 12, 2020 18:51
-
-
Save broilogabriel/473c057fc9358ee40a5d7603f65f4106 to your computer and use it in GitHub Desktop.
netExtender Ubuntu 14.04 Install and run as a service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/init/netextender.conf (upstart job) | |
description "netExtender VPN client" | |
start on runlevel [2345] | |
console log | |
chdir /tmp | |
exec bash /usr/local/bin/netextender.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# /usr/local/bin/netextender.sh (bash script to keep it reconnecting) | |
export HOME=/tmp # looks like this thing needs a home folder defined otherwise it segfaults | |
while true | |
do | |
# we need to pipe Y to pass the certificate warning | |
echo "Y" | netExtender -u USERNAME -p WE_LIKE_CLEAR_TEXT_PASSWORD -d DOMAIN VPN_IP | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment