FastTunnel/FastTunnel.Client/appsettings.json

48 lines
1.1 KiB
JSON
Raw Normal View History

2019-12-16 10:29:06 +08:00
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"ClientSettings": {
"Common": {
2019-12-16 15:22:20 +08:00
// 服务端公网ip, 对应服务端配置文件的 BindAddr
2020-04-01 23:20:35 +08:00
"ServerAddr": "127.0.0.1",
2019-12-16 10:29:06 +08:00
2019-12-16 15:22:20 +08:00
// 服务端通信端口,对应服务端配置文件的 BindPort
2019-12-16 10:29:06 +08:00
"ServerPort": 1271
},
"Webs": [
{
// 本地站点所在内网的ip
"LocalIp": "127.0.0.1",
// 站点监听的端口号
2020-06-29 11:17:26 +08:00
"LocalPort": 8001,
2019-12-16 10:29:06 +08:00
2019-12-16 15:22:20 +08:00
// 子域名, 访问本站点时的url为 http://{SubDomain}.{Domain}:{ProxyPort_HTTP}/
2020-04-07 23:56:46 +08:00
"SubDomain": "test" // test.test.cc
2019-12-20 22:14:43 +08:00
}
],
/**
* ssh穿ssh访
* 访 #ssh -oPort=12701 {root}@{ServerAddr}
* ServerAddr iproot
*/
"SSH": [
{
"LocalIp": "127.0.0.1",
"LocalPort": 22,
2019-12-25 16:00:56 +08:00
"RemotePort": 1273
2019-12-21 14:28:15 +08:00
},
{
2019-12-25 16:00:56 +08:00
"LocalIp": "192.168.0.91",
2019-12-21 14:28:15 +08:00
"LocalPort": 3389, // windows远程桌面端口为3389
2019-12-25 16:00:56 +08:00
"RemotePort": 1274
2019-12-16 10:29:06 +08:00
}
]
}
}