Hi! I'm in China now and my Internet connexion is very bad. I ever use the best ADSL provider that I can have. In some case (often), the connexion is lost. At the first time, tincd will wait few time and retry. But, this delay is increased if the connexion can't be made... so, it's quicker to kill tincd and restart it. How it possible to make tincd restart if the connexion can't be made after ... 30 secondes? and never wait more than 30 secondes. I also use an SSH tunnel who works better, but I would like use tincd too. With good and stable connexion, tincd works fine. See you GG
On Tue, Feb 10, 2015 at 08:54:16AM +0800, GG wrote:> I'm in China now and my Internet connexion is very bad. I ever use the best > ADSL provider that I can have. > > In some case (often), the connexion is lost. At the first time, tincd will > wait few time and retry. But, this delay is increased if the connexion can't > be made... so, it's quicker to kill tincd and restart it. > > How it possible to make tincd restart if the connexion can't be made after > ... 30 secondes? and never wait more than 30 secondes.Just add the following line to tinc.conf: MaxTimeout = 30 -- 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: 819 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150210/d6f465a8/attachment.sig>
Le 10/02/2015 14:23, Guus Sliepen a ?crit :> On Tue, Feb 10, 2015 at 08:54:16AM +0800, GG wrote: > >> [...] >> >> How it possible to make tincd restart if the connexion can't be made after >> ... 30 secondes? and never wait more than 30 secondes. > > Just add the following line to tinc.conf: > > MaxTimeout = 30 >Thanks a lot. I will let you know how this can do for connexion. This should be on FAQ, because I can't found it when I searchid this config. May be too few searching... See you GG