What's wrong in these configurations?

EleGoS elegos at fastwebnet.it
Sat Nov 25 20:07:24 CET 2006


Guus Sliepen ha scritto:
> On Fri, Nov 24, 2006 at 11:18:52PM +0100, EleGoS wrote:
>
>   
>>> PC (under NAT)
>>> files:
>>> tinc/vpn/tinc.conf
>>> tinc/vpn/rsa_key.priv
>>> tinc/vpn/hosts/elegos
>>> tinc/vpn/hosts/shadowkrad
>>>       
> [...]
>
> That looks fine.
>
>   
>>> And this is my friend's configuration:
>>>
>>> files:
>>> tinc/vpn/tinc.conf
>>> tinc/vpn/rsa_key.priv
>>> tinc/vpn/hosts/local
>>> tinc/vpn/hosts/shadowkrad
>>>
>>> tinc.conf:
>>> Name = shadowkrad
>>> ConnectTo = local
>>> Interface = VPN
>>>
>>> rsa_key.priv:
>>> -----BEGIN RSA PRIVATE KEY-----
>>> *cut*
>>> -----END RSA PRIVATE KEY-----
>>>
>>> local:
>>> Address = 82.57.***.65
>>> Subnet = 10.10.10.11/32
>>> -----BEGIN RSA PUBLIC KEY-----
>>> *cut*
>>> -----END RSA PUBLIC KEY-----
>>>
>>> shadowkrad:
>>> Address = 82.57.***.65
>>> Subnet = 10.10.10.11/32
>>> -----BEGIN RSA PUBLIC KEY-----
>>> *cut*
>>> -----END RSA PUBLIC KEY-----
>>>
>>> P.S.
>>> local is a copy of shadowkrad, and shadowkrad is the same file I've 
>>> got in the first PC
>>>       
>
> You should get rid of "local". That is just plain wrong. Remove
> "ConnectTo = local" from your friend's tinc.conf, and remove
> hosts/local. Also, you should copy your hosts/elegos to your friend's
> hosts/ directory.
>
>   
> ------------------------------------------------------------------------
>
>   
I've deleted hosts/local from my friend's PC, removed ConnectTo = local 
and insered my hosts/elegos into his PC, but still doesen't work.

I've also tried insering first in his elegos my public IP and then also 
in mine, everytime restarting the service, but no luck :(


More information about the tinc mailing list