tinc configuration question
Guus Sliepen
guus at tinc-vpn.org
Mon Sep 15 20:07:45 CEST 2008
On Mon, Sep 15, 2008 at 12:44:26PM -0400, Hanxi Zhang wrote:
> After being able to build tinc from source on FC8, I have stumbled upon
> some configuration issue. My tinc daemon is configured as follows:
[...]
> Finally, there is a tinc-up script under /etc/tinc/crc_idb1/:
>
> #!/bin/sh
> ifconfig crc_idb1 10.1.8.100 netmask 255.255.255.0 up
> route add -net 10.1.0.0/16 crc_idb1
>
> The problem is, when I start tincd, I get this warning:
>
> tincd -n crc_idb1 --pidfile=/tmp/tinc.crc_idb1.pid -d5 -D
> /dev/net/tun is a Linux tun/tap device (tun mode)
> Listening on :: port 655
> Can't bind to 0.0.0.0 port 655/tcp: Address already in use
> Ready
>
> And if I do "ifconfig", the crc_idb1 virtual interface is always
> inactive/down, even if the tincd daemon is running.
You mention that your config files are in /usr/local/etc/tinc/crc_idb1, but
that the tinc-up script is in /etc/tinc/crc_idb1. They should all be in the
same directory. Also make sure that the tinc-up script is executable.
> Am I doing something obviously wrong or it somehow has
> to do with the Can't bind warning?
The bind warning has nothing to do with it, you can ignore it.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.tinc-vpn.org/pipermail/tinc/attachments/20080915/21b2c35e/attachment.pgp
More information about the tinc
mailing list