FastTunnel/FastTunnel.Client/appsettings.json

52 lines
1.3 KiB
JSON
Raw Normal View History

2019-12-16 10:29:06 +08:00
{
"Logging": {
"LogLevel": {
2020-11-01 12:27:29 +08:00
// Trace Debug Information Warning Error
2020-11-01 12:34:51 +08:00
"Default": "Information",
2019-12-16 10:29:06 +08:00
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"ClientSettings": {
"Common": {
2020-08-02 15:47:15 +08:00
// 服务端公网ip, 对应服务端配置文件的 BindAddr,支持域名
2020-12-14 19:54:37 +08:00
"ServerAddr": "test.cc",
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-12-15 11:20:49 +08:00
"LocalPort": 8080,
2019-12-16 10:29:06 +08:00
2019-12-16 15:22:20 +08:00
// 子域名, 访问本站点时的url为 http://{SubDomain}.{Domain}:{ProxyPort_HTTP}/
"SubDomain": "test", // test.test.cc
// 个人域名需要解析域名A记录至服务的ip地址
"WWW": [ "www.abc.com","test111.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",
2020-10-28 09:44:02 +08:00
"LocalPort": 88,
"RemotePort": 9999
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
}
]
}
}