Installing as a Windows Service
- Go to the NSSM official website [https://nssm.cc/download] to download NSSM and extract it to a local directory.
- Download the command-line version of
easytier-core.exe
, remember the installation directory, such asD:\Software\Easytier\cli\easytier-core.exe
. - Register it as a Windows service, naming it
easytier_service
:nssm.exe install easytier_service D:\Software\Easytier\cli\easytier-core.exe --ipv4 10.144.144.2 --network-name abc --network-secret abc -e tcp://public.easytier.top:11010
- Run
services.msc
, locate theeasytier_service
service, enable it, and set it to start with a delay. - To remove the service:
nssm.exe remove easytier_service
. - Note that after registering as a service, the program (referring to easytier-core.exe) cannot be modified, deleted, or moved. Otherwise, it needs to be removed for re-registration or modifying the Windows registry.
- For convenient execution of
easytier-cli.exe
to view connection status, you can place it inC:\Users\Administrator
(Administrator being your Windows username). Simply open cmd or PowerShell and execute, for example:easytier-cli.exe peer
.