4 Anytun can be built by using either libgcrypt or the openssl-crypto library.
5 The latter is more performant in most cases but there are some license
6 issues when using this library.
19 libboost-serialization1.35-dev
20 libboost-thread1.35-dev
21 libboost-system1.35-dev
22 libboost-regex1.35-dev
55 http://www.slproweb.com/download/Win32OpenSSL-0_9_8j.exe
58 http://www.slproweb.com/download/Win32OpenSSL_Light-0_9_8j.exe
61 http://www.boostpro.com/download/boost_1_35_0_setup.exe
63 As it can take some time to install everything from boost here is a
64 complete list of libraries which have to be installed in order to build anytun:
72 Microsoft Visual C++ 2008 Redistributable Package (x86):
73 http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF
80 Getting the source via subversion:
81 ----------------------------------
82 svn co http://svn.anytun.org/anytun/trunk anytun
94 using ssl crypto library:
97 # ./configure --use-ssl-crypto
102 - try './configure --help' for further information
103 - if using openssl pre 0.9.8 you have to disable passphrase
104 because openssl had no SHA256 implementation prior to this
106 - on FreeBSD you have to use gmake instead of make
113 This will install anytun under the --prefix defined with configure.
120 This removes everytthing except for the config files
124 This also removes the config files
134 The init.d script can be used to start anytun at boot time. It searches for
135 configuration files which reside at $CONFIG_DIR. For each instance of anytun
136 which should be started there must be a directory containing at least a file
137 named config. This file must contain all command line parameter which should
138 be used when starting the daemon. One line for each parameter. Empty lines and
139 lines starting with # are ignored. Besides the config file there may be a script
140 named post-up.sh which will be called when the tun/tap device comes up.
141 Furthermore there may be a directory called conf.d containing config files for
142 anytun-config. The syntax of this files is quite the same as those for anytun.
143 These files are used to configure a multi connection setup using anytun-config
145 This is an example of how the script can be used to start anytun:
147 # /etc/init.d/anytun start client1 p2p-a
149 In this case the script will start 2 instances of anytun using the config files
150 $CONFIG_DIR/client1/config and $CONFIG_DIR/p2p-a/config.
151 If no instance name is specified the script will use the file $CONFIG_DIR/autostart
152 to determine which instances to start or stop. This file must contain a list
153 of instance names which should be used when no names are specified at the command
154 line. One line for each name. Empty lines and lines starting with # are ignored.
161 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
162 Cannot open TUN/TAP dev /dev/anytun0: No such file or directory (errno=2)
164 Solution: Enabling tun/tap device
165 ------------------------------------
171 edit /etc/modules and add the line
173 to load the module automatically