From GanjaLinux
GNU/Linux
Package Management
fink
Applications
installation
- via fink installed libgcrypt, libgpg-error
$ svn co http://svn.unix-ag.uni-kl.de/vpnc/
$ cd vpnc/trunk/
$ make
$ sudo make install
Password:
install -d /etc/vpnc /usr/local/bin /usr/local/sbin /usr/local/share/man/man8
install vpnc-script /etc/vpnc
install -m 600 vpnc.conf /etc/vpnc/default.conf
install vpnc vpnc-disconnect /usr/local/sbin
install pcf2vpnc /usr/local/bin
install vpnc.8 /usr/local/share/man/man8
configuration
$ ./pcf2vpnc ecpi.pcf ecpi.conf
execution
$ sudo /usr/local/sbin/vpnc
Enter password for lmagasweran@206.170.230.226:
can't initialise tunnel interface: No such file or directory
$ /usr/local/sbin/vpnc ./ecpi
Enter password for lmagasweran@206.170.230.226:
binding to 0.0.0.0:500: Permission denied
$ sudo /usr/local/sbin/vpnc ./ecpi
Enter password for lmagasweran@206.170.230.226:
peer selected (single) DES as "encrytion" method.
This algorithm is considered too weak today
If your vpn concentrator admin still insists on using DES
use the "--enable-1des" option.
$ sudo /usr/local/sbin/vpnc --enable-1des ./ecpi
Enter password for lmagasweran@206.170.230.226:
add host 206.170.230.226: gateway 192.168.1.1
add net 10.1.10.4: gateway 10.6.5.1
add net 10.1.10.5: gateway 10.6.5.1
add net 10.1.10.7: gateway 10.6.5.1
add net 10.1.10.16: gateway 10.6.5.1
add net 10.1.10.17: gateway 10.6.5.1
add net 10.1.10.21: gateway 10.6.5.1
add net 10.1.10.25: gateway 10.6.5.1
add net 10.1.10.26: gateway 10.6.5.1
add net 10.1.10.23: gateway 10.6.5.1
add net 10.1.10.14: gateway 10.6.5.1
add net 10.1.10.2: gateway 10.6.5.1
add net 10.1.10.32: gateway 10.6.5.1
add net 10.1.10.13: gateway 10.6.5.1
add net 10.1.10.6: gateway 10.6.5.1
add net 10.1.20.101: gateway 10.6.5.1
add net 10.1.10.9: gateway 10.6.5.1
add net 10.1.10.18: gateway 10.6.5.1
add net 10.1.10.1: gateway 10.6.5.1
add net 10.1.12.182: gateway 10.6.5.1
add net 10.1.14.0: gateway 10.6.5.1
add net 10.1.15.0: gateway 10.6.5.1
add net 10.1.8.1: gateway 10.6.5.1
add net 10.1.10.3: gateway 10.6.5.1
add net 10.1.10.40: gateway 10.6.5.1
add net 10.1.10.27: gateway 10.6.5.1
add net 10.1.1.30: gateway 10.6.5.1
add net 10.1.10.12: gateway 10.6.5.1
add net 10.1.10.37: gateway 10.6.5.1
add net 10.1.10.70: gateway 10.6.5.1
add net 10.1.10.38: gateway 10.6.5.1
route: writing to routing socket: File exists
add net 10.1.10.4: gateway 10.6.5.1: File exists
route: writing to routing socket: File exists
add net 10.1.10.6: gateway 10.6.5.1: File exists
/etc/vpnc/vpnc-script: line 222: /tmp/resolv.conf: No such file or directory
VPNC started in background (pid: 9588)...
$ touch /tmp/resolv.conf
$ sudo /usr/local/sbin/vpnc --no-detach --debug 1 --enable-1des ./ecpi
Enter password for lmagasweran@206.170.230.226:
vpnc version 0.3.3-140
IKE SA selected psk+xauth-des-sha1
NAT status: this end behind NAT? YES -- remote end behind NAT? no
Enter Username and Password.
got address 10.6.5.1
IPSEC SA selected des-sha1
add host 206.170.230.226: gateway 192.168.1.1
add net 10.1.10.4: gateway 10.6.5.1
add net 10.1.10.5: gateway 10.6.5.1
add net 10.1.10.7: gateway 10.6.5.1
add net 10.1.10.16: gateway 10.6.5.1
add net 10.1.10.17: gateway 10.6.5.1
add net 10.1.10.21: gateway 10.6.5.1
add net 10.1.10.25: gateway 10.6.5.1
add net 10.1.10.26: gateway 10.6.5.1
add net 10.1.10.23: gateway 10.6.5.1
add net 10.1.10.14: gateway 10.6.5.1
add net 10.1.10.2: gateway 10.6.5.1
add net 10.1.10.32: gateway 10.6.5.1
add net 10.1.10.13: gateway 10.6.5.1
add net 10.1.10.6: gateway 10.6.5.1
add net 10.1.20.101: gateway 10.6.5.1
add net 10.1.10.9: gateway 10.6.5.1
add net 10.1.10.18: gateway 10.6.5.1
add net 10.1.10.1: gateway 10.6.5.1
add net 10.1.12.182: gateway 10.6.5.1
add net 10.1.14.0: gateway 10.6.5.1
add net 10.1.15.0: gateway 10.6.5.1
add net 10.1.8.1: gateway 10.6.5.1
add net 10.1.10.3: gateway 10.6.5.1
add net 10.1.10.40: gateway 10.6.5.1
add net 10.1.10.27: gateway 10.6.5.1
add net 10.1.1.30: gateway 10.6.5.1
add net 10.1.10.12: gateway 10.6.5.1
add net 10.1.10.37: gateway 10.6.5.1
add net 10.1.10.70: gateway 10.6.5.1
add net 10.1.10.38: gateway 10.6.5.1
route: writing to routing socket: File exists
add net 10.1.10.4: gateway 10.6.5.1: File exists
route: writing to routing socket: File exists
add net 10.1.10.6: gateway 10.6.5.1: File exists
VPNC started in foreground...
X Window System
multi-aterm
- built from source via fink.
mrxvt
curl -O http://superb-west.dl.sourceforge.net/sourceforge/materm/mrxvt-0.5.1.tar.gz
tar xvzf mrxvt*
cd mrxvt*
./configure --enable-everything --disable-debug
make
sudo make install
/usr/local/bin/mrxvt &