Wednesday, May 21, 2008

Install OPENVPN on Ubuntu Hardy (8.04)

Download openvpn-2.1_rc7.tar.gz from:

install these packages:

apt-get install liblzo2-dev
apt-get install libssl-dev

unzip the openvpn package and runs:

make install

With this error:
" Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)"

run these commands:

mknod /dev/net/tun c 10 200
modprobe tun