ZeroTier 配置
ZeroTier allows you to create secure virtual LANs over the internet, which is useful for remote access, gaming, and connecting distributed devices.
1. Installation
Section titled “1. Installation”Windows / macOS
Section titled “Windows / macOS”Download the installer from the official website and follow the prompts.
Run the installation script:
curl -s https://install.zerotier.com | sudo bash2. Joining a Network
Section titled “2. Joining a Network”You need a Network ID (16-digit alphanumeric code) provided by the network administrator.
Windows
Section titled “Windows”- Right-click the ZeroTier icon in the taskbar.
- Select Join New Network….
- Enter the Network ID and click Join.
sudo zerotier-cli join <NETWORK_ID>3. Network Optimization (Windows)
Section titled “3. Network Optimization (Windows)”If you encounter issues discovering games or services on the ZeroTier network, you may need to adjust the interface metric to prioritize the ZeroTier adapter.
- Open Settings > Network & Internet > Advanced network settings.
- Find the ZeroTier One adapter and click Edit (or “More adapter options”).
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Click Advanced.
- Uncheck Automatic metric and set Interface metric to
1. - Click OK to save changes.