项目地址

github.com/ehang-io/nps/releases

Server端安装命令

wget https://github.com/ehang-io/nps/releases/download/v0.26.10/linux_amd64_server.tar.gz
./nps install
nano /etc/nps/conf/nps.conf 编辑配置文件
重点:配置文件中的auth_key字段,一定要解除注释并且更改数值,不然有被黑风险。
漏洞说明:https://mp.weixin.qq.com/s/PTq01wcV4XJwutbSjHjfvA
配置结束以后,使用以下命令启动NPS服务
nps start

Client端安装

客户端软件下载

wget https://github.com/ehang-io/nps/releases/download/v0.26.10/linux_amd64_client.tar.gz
tar -zxvf linux_amd64_client.tar.gz

复制客户端命令,在客户端中进行执行

如果只是单次使用,比如这个客户端只是用一次,那么就执行:
./npc -server=192.168.58.105:8024 -vkey=lyxp4jlp2fhego8g -type=tcp
如果是需要直接安装,后续需要客户端开关机都能保持在线,需要添加install参数:
./npc install -server=192.168.58.105:8024 -vkey=lyxp4jlp2fhego8g -type=tcp