28 lines
862 B
JSON
28 lines
862 B
JSON
{
|
||
"ProviderPort": "8001", //反向连接的端口
|
||
"ProviderConfigPort": "8000", //配置服务的端口
|
||
//"ProviderAddress": "47.90.204.25", //配置服务的地址,可以是域名(eg.:www.tmoonlight.com)也可以是ip(eg.:211.54.5.4)
|
||
"ProviderAddress": "114.115.139.193",
|
||
|
||
//反向代理客户端,可以配置多个
|
||
"Clients": [
|
||
{
|
||
"IP": "127.0.0.1", //反向代理机器的ip
|
||
"TargetServicePort": "1433", //反向代理服务的端口
|
||
"ConsumerPort": "8004" //可选,消费端口,如果已被占用会顺延分配,如未指定,则从20000开始分配
|
||
},
|
||
{
|
||
"IP": "127.0.0.1",
|
||
"TargetServicePort": "80",
|
||
"ConsumerPort": "80"
|
||
},
|
||
{
|
||
"IP": "127.0.0.1",
|
||
"TargetServicePort": "3389"
|
||
},
|
||
{
|
||
"IP": "127.0.0.1",
|
||
"TargetServicePort": "5900"
|
||
}
|
||
]
|
||
} |