Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pages/common/zerotier-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# zerotier-cli

> Manage a local ZeroTier node and its network memberships.
> More information: <https://docs.zerotier.com/cli/>.

- Show node status:

`zerotier-cli status`

- List networks this node knows about:

`zerotier-cli listnetworks`

- Join a network:

`zerotier-cli join {{network_id}}`

- Leave a network:

`zerotier-cli leave {{network_id}}`

- Show peers:

`zerotier-cli listpeers`

- Output JSON:

`zerotier-cli -j {{command}}`
16 changes: 16 additions & 0 deletions pages/common/zerotier-idtool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# zerotier-idtool

> Manage ZeroTier identities (public/private keys, addresses).
> More information: <https://man.archlinux.org/man/zerotier-idtool.1.en>.

- Generate a new identity pair and write to two files:

`zerotier-idtool generate {{identity.public}} {{identity.secret}}`

- Show the ZeroTier address for an identity file:

`zerotier-idtool get {{identity.public}}`

- Initialize a moon definition and write JSON to a file:

`zerotier-idtool initmoon {{identity.public}} > {{moon.json}}`
16 changes: 16 additions & 0 deletions pages/common/zerotier-one.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# zerotier-one

> ZeroTier service daemon.
> More information: <https://docs.zerotier.com/>.

- Start the daemon in the foreground:

`zerotier-one`

- Start the daemon in the background:

`zerotier-one -d`

- Use a custom working directory:

`zerotier-one -d -D {{path/to/directory}}`