Questions about multiple Tinc daemons

Ivo Timmermans
Fri, 27 Dec 2002 01:32:30 -0000

Denny Fox wrote:
> I have some questions about running multiple tinc deamons. The docs
> say you can do it to support separate VPNs, but I don't see any
> examples.

True, because we assume it is clear what you should do :)

> Also, if you run multiple tinc daemons, do you have to use different
> ports?

Yes.

> Dec 26 16:00:25 server2 tinc[1879]: Can't bind to 0.0.0.0 port
> 655/tcp: Address already in use

That's because of the above limitation.

> Another question is, how does it handle the pid files for multiple
> tinc daemons? The static version writes to
> /usr/local/var/run/tinc.pid. If I cat this file, it only has the PID
> for the second instance:
> 1879

Hmm, there should be a /var/run/tinc.<network>.pid (or something.
Definately not in /usr/local/var.)  Did you start tincd with -n
<network>?  (Might be an error in the init script...)


	Ivo

--
You are just jealous because the little voices are talking to me.
Tinc:         Discussion list about the tinc VPN daemon
Archive:      http://mail.nl.linux.org/lists/
Tinc site:    http://tinc.nl.linux.org/