AUTOTUNNEL -
Client / Daemon for automatic setup of ipip tunnels
supports SSL encrypted pap authentification
http://linux01.gwdg.de/~linhest/
Copyright (C) by Ludger Inhester <linhest@linux01.gwdg.de>
Please send comments, questions, submissions to
Ludger Inhester <linhest@linux01.gwdg.de>
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)
This product includes cryptographic software written by
Eric Young (eay@cryptsoft.com)
GENERAL
AUTOTUNNEL is a daemon which sets up an ipip tunnel interface and a route to get a static ip address.
COPYING
THIS SOFTWARE IS PROVIDED BY LUDGER INHESTER ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program in a text-formatted file named COPYING; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
REQUIREMENTS
You need the libssl, libcrypto and the openssl command line tool. (ftp://ftp.openssl.org/) PAM is needed (installed in most systems) A Kernel >= 2.2.x with ipip support is required (if you are using modules insmod ipip !)
INSTALLING
Change into the diectory where you unpacked the tar-ball Have a look at the Makefile and type 'make' and 'make install' if you need a new certificate - key pair type 'make key' The certificate and key is installed /var/autotunnel
CONFIGURATION
/etc/autotunnel.conf:
The default Configuration File for autotunneld is
/etc/autotunnel.conf. Alternativly you can specify a
Configuration File by the -g option (see --help).
The Configuration File consists on 4 section for each
user seperated by a ';' like this:
<username>;<tunnelif>;<tunneladdr>;<tunneladdrmask>
<username> is the sytem username.
<tunnelif> is the Tunnelif, which is usually tunl1 (or
tunl2 or tunl3 ...). You must not use tunl0 !
<tunneladdr> and <tunneladdrmask> describe the subnet
which is routed through the tunnel interface. eg
foo;tunl5;1.1.1.1;255.255.255.255 means a host route to
1.1.1.1 through tunl5.
/var/autotunnel/secret:
The default Configuration for autotunnel Client is
/var/autotunnel/secret. It should be only
readable by root as it contains the password
There are no Comments allowed and it should only
contain 1 line.
The Syntax is quite simple :
<username> <password>
