Great. Finally our university supports VPN access to enable access to our shared folders from the outside. Of course only Windows (and Mac) is supported not Linux. Also the “password” is only provided in an obfuscated manner – Linux needs the cleartext version. Fortunately it is no problem to extract the password, thanks to this web site. Boy, this university people couldn’t have been less creative when choosing a password.
Read more to see the instructions.
I used the vpnc client (http://www.unix-ag.uni-kl.de/~massar/vpnc/) (in Gentoo simple “emerge vpnc”) instead of the cisco client. I registered there and gave all my data from my birthday to my shoe sizes but still couldn’t find the correct download link. To use vpnc, the kernel needs TUN/TAP support either as a module (modprobe tun) or compiled into the kernel.
This is my /etc/vpnc.conf.
Interface name tun0
IKE DH Group dh2
Perfect Forward Secrecy nopfs
IPSec gateway vpn.unisg.ch
IPSec ID unisg
IPSec secret access4unisg
Xauth username sspaeth
Xauth password notespasswdhere
Now, running vpnc-cpnnect will connect me to the University net. Accessing ebscohost et. al works already.
Next, accessing the O and Q drives through Novell Netware. I needed the ncpfs tools (emerge ncpfs) and have the following entries in /etc/fstab
none /mnt/Q ncpfs server=CLUSTER1_DATA_SERVER,ipserver=220.127.116.11,user=.CN=SSpaeth.OU=IFB.OU=DUFOUR.O=UNISG,passwd=passwdhere,volume=DATA/IFB,uid=1000 0 0
none /mnt/O ncpfs server=CLUSTER1_HOME_SERVER,ipserver=18.104.22.168,user=.CN=SSpaeth.OU=IFB.OU=DUFOUR.O=UNISG,passwd=passwdhere,volume=HOME/Owner/SSpaeth,uid=1000 0 0
Now, when connected through vpn, I can mount /mnt/Q and mount /mnt/O as root.
You probably need to adapt the uid and gid values to mount the drives as a normal user.
(Because this is a single user machine I was not concerned to enter my Novell password in /etc/fstab. There are possibilities using passwdfile=