tincctl localhost timeout

Guus Sliepen guus at tinc-vpn.org
Thu Jan 17 13:34:34 CET 2013


On Wed, Jan 16, 2013 at 01:00:53AM +0900, shikkc wrote:

> >It is even stranger to get connection timeouts to localhost. Could it be
> >that
> >you have firewall rules blocking connections to port 655?
> 
> I tested this also with the firewall completely disabled, just now.
> Results:
[...]
> root@<hostname> # netstat -l -n -p | grep 655
> tcp        0      0 0.0.0.0:655             0.0.0.0:* LISTEN     13700/tincd
> udp        0      0 0.0.0.0:655             0.0.0.0:*            13700/tincd
> root@<hostname> # tincctl --net=<netname> --pidfile=/var/run/tinc.<netname>.pid dump nodes
> Cannot connect to 127.0.0.1 port 655: Connection refused

Ah, could it be that you are using the BindToInterface option in tinc.conf? I
just checked, that would cause connections to localhost to fail. If you really
do need to bind to a specific interface, use BindToAddress = <address of interface>
instead.

If that is not the problem, could you send me a copy of your tinc.conf?

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20130117/33903dcd/attachment.pgp>


More information about the tinc mailing list