mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 08:58:31 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/zerotier-cli
Normal file
29
tldr/zerotier-cli
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# zerotier-cli
|
||||
|
||||
> Control the local ZeroTier virtual network service.
|
||||
> More information: <https://github.com/zerotier/ZeroTierOne/blob/main/doc/zerotier-cli.1.md>.
|
||||
|
||||
- Join a network:
|
||||
|
||||
`sudo zerotier-cli join {{network_id}}`
|
||||
|
||||
- List networks:
|
||||
|
||||
`sudo zerotier-cli listnetworks`
|
||||
|
||||
- List peers in a readable format:
|
||||
|
||||
`sudo zerotier-cli peers`
|
||||
|
||||
- Leave a network:
|
||||
|
||||
`sudo zerotier-cli leave {{network_id}}`
|
||||
|
||||
- Display the status of ZeroTier One:
|
||||
|
||||
`sudo zerotier-cli {{[info|status]}}`
|
||||
Reference in New Issue
Block a user