Ultron.Proxy/Ultron.Proxy.Client/bin/Debug/netcoreapp2.2/appsettings.json

28 lines
862 B
JSON
Raw Normal View History

2019-04-19 11:04:11 +08:00
{
"ProviderPort": "8001", //反向连接的端口
"ProviderConfigPort": "8000", //配置服务的端口
//"ProviderAddress": "47.90.204.25", //配置服务的地址可以是域名eg.:www.tmoonlight.com也可以是ipeg.: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"
}
]
}