mirror of
https://github.com/ehang-io/nps.git
synced 2025-08-31 09:36:57 +00:00
Optimizing compatibility
This commit is contained in:
@@ -3,6 +3,15 @@ server_addr=127.0.0.1:8024
|
||||
conn_type=tcp
|
||||
vkey=123
|
||||
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
|
||||
|
||||
[health_check_test1]
|
||||
health_check_timeout=1
|
||||
@@ -18,9 +27,10 @@ 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
|
||||
|
||||
[web]
|
||||
host=b.o.com
|
||||
target_addr=127.0.0.1:8080,127.0.0.1:8082
|
||||
host=c.o.com
|
||||
target_addr=127.0.0.1:8083,127.0.0.1:8082
|
||||
|
||||
[tcp]
|
||||
mode=tcp
|
||||
@@ -29,29 +39,37 @@ server_port=10000
|
||||
|
||||
[socks5]
|
||||
mode=socks5
|
||||
server_port=9005
|
||||
|
||||
[http]
|
||||
mode=httpProxy
|
||||
server_port=9004
|
||||
|
||||
server_port=19009
|
||||
|
||||
[file]
|
||||
mode=file
|
||||
server_port=9009
|
||||
server_port=19008
|
||||
local_path=./
|
||||
strip_pre=/web/
|
||||
|
||||
[http]
|
||||
mode=httpProxy
|
||||
server_port=19004
|
||||
|
||||
[udp]
|
||||
mode=udp
|
||||
server_port=53
|
||||
server_port=12253
|
||||
target_addr=114.114.114.114:53
|
||||
|
||||
[ssh_secret]
|
||||
mode=secret
|
||||
password=ssh2
|
||||
target_addr=123.206.77.88:22
|
||||
|
||||
[ssh_p2p]
|
||||
mode=p2p
|
||||
password=ssh3
|
||||
|
||||
[secret_ssh]
|
||||
local_port=2001
|
||||
password=sec
|
||||
password=ssh2
|
||||
|
||||
[p2p_ssh]
|
||||
local_port=2002
|
||||
password=ppp
|
||||
target_addr=192.168.74.199:22
|
||||
password=ssh3
|
||||
target_addr=123.206.77.88:22
|
Reference in New Issue
Block a user