[SOLVED] Reconnect via cli


is there a way to connect/disconnect from a network via cli? I want to avoid hunting for it in the menubar item by creating a short script and attaching to keyboard shortcut.

https://zerotier.atlassian.net/wiki/spaces/SD/pages/29065282/Command+Line+Interface+zerotier-cli yup!

nope! Been there. Where is the command to disconnect or reconnect.

join = connect
leave = disconnect

In my understanding join is join new network (as also on the system menu app) and leave is leaving the network, reflected in the configuration page also.
Correct me if I’m wrong.


The ui just does a join command to the service API for connect/reconnect and a leave command to the service API on disconnect. They are one and the same.

OK! Then it’s easy to do what I want. I was under the impression that there would be different commands…

EDIT: Works! Thx again

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.