Error starting tinc
mlist
mlist at apsystems.it
Fri Jan 22 23:39:36 CET 2016
No parameters using DNS.
- tinc.conf content
Name = sito1
AddressFamily = ipv4
BindToAddress = <IPPUB>:665
BindToInterface = int
Device=/dev/net/tun
Interface = vpndrif
Mode = router
PingInterval = 60
PingTimeout = 5
ProcessPriority = normal
- host/sito1 content
Address = <IPPUB>:665
Subnet = <IPLOCAL>/<NETMASK>
Port = 655
-----BEGIN RSA PUBLIC KEY-----
...
-----END RSA PUBLIC KEY-----
Excuse me, virtual device is created by tinc ? I read that on CentOS 7 tun device must be created with ip tuntap command, in tinc-up I put this, but no virtual device is found with ifconfig:
#!/bin/sh
ip link set $INTERFACE up
ip addr add <IPLOCAL>/8 dev $INTERFACE
ip route add <REMOTENET>/24 dev $INTERFACE
Also do you know about keepalived errors ?
Roberto
-----Original Message-----
From: tinc [mailto:tinc-bounces a tinc-vpn.org] On Behalf Of Guus Sliepen
Sent: venerdì 22 gennaio 2016 23.27
To: tinc a tinc-vpn.org
Subject: Re: Error starting tinc
On Fri, Jan 22, 2016 at 10:20:29PM +0000, mlist wrote:
> I get this error starting tincd:
>
> tincd -n vpndr -d5 -D
>
> tincd 1.0.26 (Jan 22 2016 19:28:17) starting, debug level 5
> /dev/net/tun is a Linux tun/tap device (tun mode)
> Executing script tinc-up
> System call `getaddrinfo' failed: Name or service not known
> Terminating
Hm, the error message could have been clearer. It happens while trying
to resolve the address tinc should listen on, but it fails for some
reason. Did you specify any "BindToAddress", "ListenAddress" and/or
"Port" statements that might require DNS to be available?
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus a tinc-vpn.org>
More information about the tinc
mailing list