6th Dec 2008 | No Comments
All of this should be done as root!
cd ~ modprobe tun wget http://arenahome.dyndns.org/dir/N%20Linux/snx/snx_install.sh sh snx_install.sh wget http://www2.linuxpackages.net/packages/Slackware/Slackware-12.1/Library/Linux-PAM/linux-pam-1.0.2-i486-1gds.tgz installpkg linux-pam-1.0.2-i486-1gds.tgz echo # TUN interface for ssl network extender >> /etc/rc.d/rc.modules echo /sbin/modprobe tun >> /etc/rc.d/rc.modules cat << EOF > /usr/bin/snx_up.sh #!/bin/sh LD_PRELOAD=/usr/i486-slackware-linux/lib/libstdc++-libc6.2-2.so.3 snx -s your.server.com -u your_user_name EOF chmod +x /usr/bin/snx_up.sh cat << EOF > /usr/bin/snx_down.sh #!/bin/sh LD_PRELOAD=/usr/i486-slackware-linux/lib/libstdc++-libc6.2-2.so.3 snx -d EOF chmod +x /usr/bin/snx_down.sh
Then just run snx_up.sh to start your vpn connection and enter your password. To disconnect, just run snx_down.sh