FastTunnel/FastTunnel.Client/appsettings.json
2019-12-25 16:00:56 +08:00

60 lines
1.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"ClientSettings": {
"Common": {
// 服务端公网ip, 对应服务端配置文件的 BindAddr
"ServerAddr": "154.202.58.219",
//"ServerAddr": "127.0.0.1",
// 服务端通信端口,对应服务端配置文件的 BindPort
"ServerPort": 1271
},
"Webs": [
{
// 本地站点所在内网的ip
"LocalIp": "127.0.0.1",
// 站点监听的端口号
"LocalPort": 80,
// 子域名, 访问本站点时的url为 http://{SubDomain}.{Domain}:{ProxyPort_HTTP}/
"SubDomain": "yz"
},
{
"LocalIp": "127.0.0.1",
"LocalPort": 9000,
"SubDomain": "test"
},
{
"LocalIp": "127.0.0.1",
"LocalPort": 80,
"SubDomain": "tgjmini"
}
],
/**
* ssh穿ssh访
* 访 #ssh -oPort=12701 {root}@{ServerAddr}
* ServerAddr iproot
*/
"SSH": [
{
"LocalIp": "127.0.0.1",
"LocalPort": 22,
"RemotePort": 1273
},
{
"LocalIp": "192.168.0.91",
"LocalPort": 3389, // windows远程桌面端口为3389
"RemotePort": 1274
}
]
}
}