README
Dependencies
============
Linux
-----
build-essential
libgcrypt11-dev
libboost1.35-dev
libboost-thread1.35-dev
libboost-system1.35-dev
libboost-regex1.35-dev
asciidoc (only for manpage)
OpenBSD
-------
libgcrypt
libgpg-error
boost
gmake
Installation
============
Getting the source via subversion:
----------------------------------
svn co http://anytun.org/svn/anytun/
Building from source
--------------------
# cd src
# ./configure
# make
Notes:
- on OpenBSD you have to use gmake instead of make
- currently there is no syncronisation support for OpenBSD
you can build anytun without sync by invoking
# make anytun-nosync
instead of just 'make'
Errors:
-------
Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Cannot open TUN/TAP dev /dev/anytun0: No such file or directory (errno=2)
Solution: Enabling tun/tap device
------------------------------------
modprobe tun
cd /dev
./MAKEDEV tun
edit /etc/modules and add the line
tun
to load the module automatically