代理工具
This commit is contained in:
parent
f87061266a
commit
887b68d259
1
proxynt/.gitignore
vendored
Normal file
1
proxynt/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
log/
|
||||
11
proxynt/Readme.md
Normal file
11
proxynt/Readme.md
Normal 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
|
||||
|
||||
|
||||
7
proxynt/config_c copy.json
Normal file
7
proxynt/config_c copy.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"server": {
|
||||
"url": "ws://localhost:18888/websocket_path",
|
||||
"password": "helloworld"
|
||||
},
|
||||
"client_name": "cheney"
|
||||
}
|
||||
7
proxynt/config_c.json
Normal file
7
proxynt/config_c.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"server": {
|
||||
"url": "ws://localhost:18888/websocket_path",
|
||||
"password": "helloworld"
|
||||
},
|
||||
"client_name": "fyx"
|
||||
}
|
||||
21
proxynt/config_s.json
Normal file
21
proxynt/config_s.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user