config help & pid file not existing issue

David Penn px920906 at gmail.com
Tue May 7 12:59:37 CEST 2019


Hi Lars,
Thanks for replying.
I tried your advise but finally it works after I killed and started tinc
without changing anything.
It would save me several hours if I'd try "pkill -9 tincd" first...

Lars Kruse <lists at sumpfralle.de> 于2019年5月7日周二 上午8:11写道:

> Hallo David,
>
>
> Am Mon, 6 May 2019 16:43:28 +0800
> schrieb David Penn <px920906 at gmail.com>:
>
> > *tinc.conf
> > Name = envy13
> > Device = /dev/net/tun
>
> I think, you do not need to specify "Device".
> (I never did)
>
>
> > ConnectTo = main
> >
> > *hosts/main
> > Address = <my vps ext ip address>
> > Port = 655
> > Subnet = 10.0.0.1/32
> >
> > *hosts/envy13
> > Port = 655
> > Subnet = 10.0.0.2/32
> >
> > *tinc-up
> > #!/bin/sh
> > ip link set myvpn up
> > ip addr add 10.0.0.2/32 dev myvpn
> > ip route add 10.0.0.0/24 via 10.0.0.2
>
> I understand the above as "route the subnet through myself".
> This is not what you want, or?
> I guess, the following lines would be sufficient?
>
>  ip link set myvpn up
>  ip addr add 10.0.0.2/24 dev myvpn
>
>
> > I have ufw allowed 655. What did i miss?
>
> You can always verify the active connections by sending USR1:
>
>  tincd -n myvpn --kill=USR1
>
> Afterwards you can take a look at your daemon log (e.g.
> /var/log/daemon.log).
> There you will find the list of currently connected peers.
>
> Cheers,
> Lars
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20190507/8a61a53f/attachment.html>


More information about the tinc mailing list