R: log on windows box

Dario Rizzoli dario.rizzoli at iceinformatics.com
Thu Oct 2 18:00:44 CEST 2003


Hi Guus,
	i have started tind with no log and debug parameter:

E:\Programmi\tinc>tincd -n euro
tinc.euro service installed
tinc.euro service started

E:\Programmi\tinc>

The start complete and return prompt with no other messages.

My situation is the following Network A (office Linux box) and Network B
(home windows 2000 box).
Host A has a fixed IP address. Instead B is in dialup with a modem (dynamic
IP).

host A:

Address = 1.2.3.36
Port = 655
Subnet = 10.3.1.0/24
-----BEGIN RSA PUBLIC KEY-----
..........(removed).......
-----END RSA PUBLIC KEY-----


host B:


subnet = 10.3.2.0/24
-----BEGIN RSA PUBLIC KEY-----
..........(removed).......
-----END RSA PUBLIC KEY-----

tinc.conf on A

Name = office
PrivateKeyFile = /etc/tinc/euro/rsa_key.priv
Device = /dev/tun
AddressFamily = ipv4

tinc.conf on B

Name = home1
ConnectTo = A
PrivateKeyFile = E:\Programmi\tinc\euro\rsa_key.priv
Device = vpn



LINUX BOX A:

#ifconfig

euro Link encap:Point-to-Point Protocol
     inet addr:10.3.1.1  P-t-P:10.3.1.1  Mask:255.255.0.0
     UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
     RX packets:4 errors:0 dropped:0 overruns:0 frame:0
     TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:10
     RX bytes:448 (448.0 b)  TX bytes:336 (336.0 b)

#route-n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
1.2.3.32    0.0.0.0         255.255.255.248 U     0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth2
10.3.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
10.3.0.0        0.0.0.0         255.255.0.0     U     0      0        0 euro
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         1.2.3.33    0.0.0.0         UG    0      0        0 eth0

On Linux box the log says "Ready"

This configuration is right?

Thanks

dario rizzoli
-----Messaggio originale-----
Da: tinc-bounce at nl.linux.org [mailto:tinc-bounce at nl.linux.org]Per conto
di Guus Sliepen
Inviato: giovedi 2 ottobre 2003 17.36
A: tinc at nl.linux.org
Cc: Dario Rizzoli
Oggetto: Re: log on windows box


On Thu, Oct 02, 2003 at 05:25:48PM +0200, Dario Rizzoli wrote:

> 	I'm trying to confugre tinc on my Windows 2000 box. I get only "cable
> unplugged".
> I have tried to enable log with command:
>
> e:\programmi\tinc\tincd -n
> euro --debug=5 --logfile=e:\programmi\tinc\tincd\tinc.log
>
> but no log file were produced. With no log file how can i debug the
problem?

In some cases the logfile option does seem to fail in tinc 1.0.1 (I
think it is already fixed in CVS). But if you remove the --logfile=...,
and add -D, you will see the log output in the console.

--
Met vriendelijke groet / with kind regards,
    Guus Sliepen <guus at sliepen.eu.org>

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