Linux command
zerotier-one 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Start service in foreground
sudo zerotier-one
Start with custom home directory
sudo zerotier-one [/var/lib/zerotier-one]
Run in background (daemon mode)
sudo zerotier-one -d
说明
zerotier-one is the ZeroTier network virtualization service daemon. It creates virtual network interfaces and manages encrypted peer-to-peer connections to form software-defined networks. When running, the service: - Maintains connections to ZeroTier root servers - Establishes peer-to-peer tunnels with other nodes - Creates virtual network interfaces (zt*) for joined networks - Provides a local API for zerotier-cli - Handles NAT traversal and connection optimization The home directory contains identity files, network configurations, and the authentication token for the local API. On systemd systems, zerotier-one is typically managed as a systemd service (zerotier-one.service) rather than run directly.
参数
- -d
- Run as daemon in background
FAQ
What is the zerotier-one command used for?
zerotier-one is the ZeroTier network virtualization service daemon. It creates virtual network interfaces and manages encrypted peer-to-peer connections to form software-defined networks. When running, the service: - Maintains connections to ZeroTier root servers - Establishes peer-to-peer tunnels with other nodes - Creates virtual network interfaces (zt*) for joined networks - Provides a local API for zerotier-cli - Handles NAT traversal and connection optimization The home directory contains identity files, network configurations, and the authentication token for the local API. On systemd systems, zerotier-one is typically managed as a systemd service (zerotier-one.service) rather than run directly.
How do I run a basic zerotier-one example?
Run `sudo zerotier-one` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d do in zerotier-one?
Run as daemon in background