Hi everybody,
I've spent last 16 hours trying to get Tinc working on my two almost
identical linux boxes. Both are running Debian stable with backported
Openssl and self-compiled kernel 2.4.24 with ebtables-patch to enable
bridging firewall. Both firewalls have both masquaraded and just bridged
nets behind (LAN & DMZ) and they are working perfectly. Now I need to
get from my home to the other LAN so that I could f.ex. administer
printers from my home if needed. My home LAN has 10.10.0.0/16 and the
other end's LAN 10.0.0.0/16.
I compiled Tinc on other, faster machine as I do with my kernels and so
far everything went just fine (just for clarification, compiling Tinc on
the target machine didn't work either) but when I try to start Tinc for
the first time, it does nothing. No messages anywhere, no errors,
nothing. Neither side.
Where is the problem? I have read the manual trough with magnifying
glass for several times but can't find any explanation for this.
Hereis conf from my end of line, "Internetti". The other end is named
"Silmu".
--clip--clip--clip--clip--clip--cilp--clip--clip--clip--clip--
# ls -alR /etc/tinc/
/etc/tinc/:
total 12
drwxr-xr-x 3 root root 4096 Feb 16 03:07 .
drwxr-xr-x 41 root root 4096 Feb 16 02:45 ..
drwxr-xr-x 3 root root 4096 Feb 16 03:07 silmuvpn
/etc/tinc/silmuvpn:
total 24
drwxr-xr-x 3 root root 4096 Feb 16 03:07 .
drwxr-xr-x 3 root root 4096 Feb 16 03:07 ..
drwxr-xr-x 2 root root 4096 Feb 16 00:46 hosts
-rw------- 1 root root 887 Feb 15 23:29 rsa_key.priv
-rwxr--r-- 1 root root 59 Feb 16 00:42 tinc-up
-rw-r--r-- 1 root root 85 Feb 16 03:27 tinc.conf
/etc/tinc/silmuvpn/hosts:
total 16
drwxr-xr-x 2 root root 4096 Feb 16 00:46 .
drwxr-xr-x 3 root root 4096 Feb 16 03:07 ..
-rw-r--r-- 1 root root 298 Feb 16 00:40 Internetti
-rw-r--r-- 1 root root 295 Feb 16 00:46 Silmu
# cat /etc/tinc/silmuvpn/tinc.conf
Name = Internetti
PrivateKeyFile = /etc/tinc/silmuvpn/rsa_key.priv
Device = /dev/tun
# cat /etc/tinc/silmuvpn/tinc-up
#!/bin/sh
ifconfig $INTERFACE 10.10.0.1 netmask 255.0.0.0
# cat /etc/tinc/silmuvpn/hosts/Internetti
Subnet = 10.10.0.0/16
Address = my.real.address.invalid
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAMpdpkLSNqF5Jx2ot4tsBHYDpnghhHC5aYsaRKm34atH6N/Iwch7T8Wc
CyYzhGPwt0T0ZoZsAWHUc7VedM+nf5ZL7DqZS2QUAaCWa592HjUAy0wCbDfUFSDD
rDS9r3kvLL0YhvfboWSxTtmUgxHsXGy8ElVGVnghL8tUS8qpIkMTAgMBAAE-----END RSA PUBLIC
KEY-----
# lsmod
Module Size Used by Not tainted
tun 3552 0 (unused)
3c509 8012 2
eepro100 17580 1
mii 2336 0 [eepro100]
# ls -al /dev/tun
crw------- 1 root root 10, 200 Feb 15 23:14 /dev/tun
# tincd -n silmuvpn -d5
# ps ax
PID TTY STAT TIME COMMAND
1 ? S 0:03 init [2]
2 ? SW 0:00 [keventd]
3 ? SWN 0:00 [ksoftirqd_CPU0]
4 ? SW 0:04 [kswapd]
5 ? SW 0:00 [bdflush]
6 ? SW 0:00 [kupdated]
264 ? S 0:00 /sbin/syslogd
267 ? S 0:02 /sbin/klogd
270 ? S 0:00 /usr/sbin/dhcpd3 -q br0 eth2
281 ? S 0:00 /usr/sbin/inetd
288 ? S 0:03 /usr/sbin/sshd
291 ? S 0:00 /usr/sbin/atd
294 ? S 0:00 /usr/sbin/cron
298 tty2 S 0:00 /sbin/getty 38400 tty2
299 tty3 S 0:00 /sbin/getty 38400 tty3
300 tty4 S 0:00 /sbin/getty 38400 tty4
301 tty5 S 0:00 /sbin/getty 38400 tty5
302 tty6 S 0:00 /sbin/getty 38400 tty6
319 tty1 S 0:00 /sbin/getty 38400 tty1
320 ? S 0:00 /usr/sbin/sshd
322 ? S 0:07 /usr/sbin/sshd
323 pts/0 S 0:00 -bash
5806 pts/0 S 0:00 -su
5880 pts/0 R 0:00 ps ax
# tincd -n silmuvpn -D -d5
#
--clip--clip--clip--clip--clip--cilp--clip--clip--clip--clip--
--
Jussi Paju
- luoja, creator -
:: Te audire no possum. Musa sapientum fixa est in aure.
:: I can't hear you. I have a banana in my ear.
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/