Zerotierone: zerotier-cli info show me tunneled everytime.

Created on 30 Apr 2018  路  3Comments  路  Source: zerotier/ZeroTierOne

Zerotier 1.2.4-4 was installed on my LEDE X64 soft-route. Since the broadband provider will renew and update the public IP address every 48 hours, the zerotier on my router will change from a direct connection to a tunneled connection. Becomes slow and does not change back to direct connection. Checking with the zerotier-cli info command will show that the Online status is TUNNELED.

Most helpful comment

*/5 * * * * /usr/bin/zerotier-cli info | grep 'ONLINE' || service zerotier restart

All 3 comments

*/5 * * * * /usr/bin/zerotier-cli info | grep 'ONLINE' || service zerotier restart

We had this exact issue with an AWS instance; fixed by setting echo 1 > /proc/sys/net/ipv4/ip_forward.

Not sure this actually fixes as we have other boxes with IP forwarding disabled that work, but for this box it certainly made it work!

You can force ZT to not use the TCP fallback relay with the following addition to your local.conf:

{
    "settings":
    { 
        "allowTcpFallbackRelay": false
    }
}

Let me know if this is still an issue and this doesn't fix your problem, we can then re-open this ticket.

Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

coretemp picture coretemp  路  3Comments

unquietwiki picture unquietwiki  路  3Comments

kblackcn picture kblackcn  路  3Comments

tim77 picture tim77  路  4Comments

kulheim picture kulheim  路  5Comments