Tinc doesn't respond in Windows XP.

Ricardo Luis Kulzer ricardol at decom.fee.unicamp.br
Sun Oct 19 22:09:09 CEST 2003


I am novice using tinc. I followed step by step the sample reported in
http://tinc.nl.linux.org/examples/windows-install

I have the following in my home (Win XP with tinc-1.0.1-install.exe):
------------------------------------------------------------------------

C:\Program Files\tinc\vpn>type tinc.conf
AddressFamily = ipv4
Name = home
ConnectTo = office
Interface = VPN

C:\Program Files\tinc\vpn>type rsa_key.priv
-----BEGIN RSA PRIVATE KEY-----
MIICXgIBAAKBgQDSedLmhH6lK3wJv6Q6QUEFNg6xAvBQY9ISRq3ivGdbqrX8o0iu
(ommited)
gvT9fxMDhfu94PoSG08s+fEzAEKLmSoYzYBusUNuEh1dqg==
-----END RSA PRIVATE KEY-----

C:\Program Files\tinc\vpn>cd hosts

C:\Program Files\tinc\vpn\hosts>type office
Address = 143.106.50.70
Port = 8500
Subnet = 10.20.40.0
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAMbiInaYkS+4z9D7X3GOtuNwmIdqEx8D69dY0kreGfkhrAYKU1fED4S/
(I ommited this line)
wfpKinePjpd03zv1xBFJEf29/VwLanXpmkFRjrqdlFzcxCM+Nl0lAgMA//8=
-----END RSA PUBLIC KEY-----

C:\Program Files\tinc\vpn\hosts>type home
Subnet = 10.20.40.1/32

-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBANJ50uaEfqUrfAm/pDpBQQU2DrEC8FBj0hJGreK8Z1uqtfyjSK6xXpRd
(I ommited this line)
Lu4pIc2F0Y7ftUB7S4stkcp2d/bFRgCdMQpQ4tpXa+NyEW8jQH/PAgMA//8=
-----END RSA PUBLIC KEY-----

I also configured my VPN interface (a TAP-Win32 Adapter type) with 
static IP address 10.20.40.1, net mask 255.255.0.0
------------------------------------------------------------------------

In my office, a Mandrake Linux, I have the follow file:

[ricardol at sheratan vpn]$ pwd
/usr/local/etc/tinc/vpn
[ricardol at sheratan vpn]$ cat tinc.conf
AddressFamily = ipv4
Name = office
Device = /dev/tap0

[ricardol at sheratan vpn]$ cat tinc-up
#!/bin/sh
/sbin/ifconfig $INTERFACE 10.20.40.1  netmask 255.255.255.0

[ricardol at sheratan vpn]$ cat tinc-down
#!/bin/sh
/sbin/ifconfig $INTERFACE down

[root at sheratan vpn]# cat rsa_key.priv
-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQDG4iJ2mJEvuM/Q+19xjrbjcJiHahMfA+vXWNJK3hn5IawGClNX
(ommited...)
3/z1oB6S/WrdwiQJRUNqKPcepyhYLkilPViHvY1sfpNk
-----END RSA PRIVATE KEY-----

[root at sheratan vpn]# ls /usr/local/etc/tinc/vpn/hosts/
home  office

[root at sheratan vpn]# cat /etc/networks
vpn 10.20.40.0


------------------------------------------------------------------------

At office, I started the tinc using:  /usr/local/sbin/tincd -d -n vpn
and I get the following in /var/log/messages:
Oct 19 17:39:33 sheratan tinc.vpn[6093]: tincd 1.0.1 (Oct 15 2003 
23:35:52) starting, debug level 1
Oct 19 17:39:33 sheratan tinc.vpn[6093]: /dev/tap0 is a Linux ethertap 
device
Oct 19 17:39:33 sheratan tinc.vpn[6093]: Script tinc-up exited with 
non-zero status 126
Oct 19 17:39:33 sheratan tinc.vpn[6093]: Listening on 0.0.0.0 port 8500
Oct 19 17:39:33 sheratan tinc.vpn[6093]: Ready

and at home, I run
C:\Program Files\tinc>tincd -n vpn

The tincd install the service, and says that it was started. But the VPN 
doesn't work.

Someone can help me.

Thanks,

Ricardo L. Kulzer.






Tinc:         Discussion list about the tinc VPN daemon
Archive:      http://mail.nl.linux.org/lists/
Tinc site:    http://tinc.nl.linux.org/




More information about the Tinc mailing list