代理工具

This commit is contained in:
cheney 2026-05-28 10:20:52 +08:00
parent f87061266a
commit 887b68d259
5 changed files with 47 additions and 0 deletions

1
proxynt/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
log/

11
proxynt/Readme.md Normal file
View File

@ -0,0 +1,11 @@
pip install -U proxynt
nt_server -c config_s.json
nt_client -c config_c.json
http://<A电脑的IP>:18888/websocket_path/admin

View File

@ -0,0 +1,7 @@
{
"server": {
"url": "ws://localhost:18888/websocket_path",
"password": "helloworld"
},
"client_name": "cheney"
}

7
proxynt/config_c.json Normal file
View File

@ -0,0 +1,7 @@
{
"server": {
"url": "ws://localhost:18888/websocket_path",
"password": "helloworld"
},
"client_name": "fyx"
}

21
proxynt/config_s.json Normal file
View File

@ -0,0 +1,21 @@
{
"port": 18888,
"password": "helloworld",
"path": "/websocket_path",
"admin": {
"enable": true,
"admin_password": "cheney"
},
"client_config": {
"fyx": [
{
"name": "test",
"remote_port": 9788,
"local_port": 9788,
"local_ip": "zentao.sunyard.com.cn",
"speed_limit": 0.0,
"protocol": "tcp"
}
]
}
}