阳子
阳子
Published on 2024-04-26 / 37 Visits
0
0

NPS测试

声明:本测试仅用于企业测试网络阻断状态,不提供任何代理服务;程序经过自行编译,已针对部分杀毒软件免杀。

下载方式:

访问网盘 https://pan.yangzihome.space ,搜索NPS,下载客户端

使用方法

Windows 运行命令:

npc.exe -server=124.222.159.87:8024 -vkey=test -type=tcp

Linux 运行命令:

chmod 755 npc
./npc_linux -server=124.222.159.87:8024 -vkey=test -type=tcp

建立成功:

CMD输出:Successful connection with server 124.222.159.87:8024,表示网络安全设备未进行阻断。

[npc.go:231]  the version of client is 0.26.10, the core version of client is 0.26.0
[I] [control.go:97]  Loading configuration file C:\NPC\conf\npc.conf successfully
[N] [control.go:176]  web access login username:user password:1234
[I] [client.go:72]  Successful connection with server 124.222.159.87:8024

配置文件

[common]
server_addr=124.222.159.87:8024
conn_type=tcp
vkey=test
auto_reconnection=true
max_conn=1000
flow_limit=1000
rate_limit=1000
basic_username=11
basic_password=3
web_username=user
web_password=1234
crypt=true
compress=true
#pprof_addr=0.0.0.0:9999
disconnect_timeout=60

[health_check_test1]
health_check_timeout=1
health_check_max_failed=3
health_check_interval=1
health_http_url=/
health_check_type=http
health_check_target=127.0.0.1:8083,127.0.0.1:8082

[health_check_test2]
health_check_timeout=1
health_check_max_failed=3
health_check_interval=1
health_check_type=tcp
health_check_target=127.0.0.1:8083,127.0.0.1:8082


Comment