FastTunnel/FastTunnel.Client/appsettings.json
SpringHgui cbc6fedcaf 🌜🌜🌜
2021-08-13 00:55:55 +08:00

54 lines
1.6 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": {
// Trace Debug Information Warning Error
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"EnableFileLog": false,
"ClientSettings": {
"Server": {
// 服务端ip/域名
"ServerAddr": "127.0.0.1",
// 服务端监听的通信端口
"ServerPort": 1270
},
// 服务端Token验证
"Token": "TOKEN_FOR_CLIENT_AUTHENTICATION",
/**
* 访
* 穿TCP
*/
"Webs": [
{
// 本地站点所在内网的ip
"LocalIp": "127.0.0.1",
// 站点监听的端口号
"LocalPort": 8090,
// 子域名, 访问本站点时的url为 http://{SubDomain}.{WebDomain}:{WebProxyPort}/
"SubDomain": "test" // test.test.cc
// 附加域名需要解析域名A记录至服务的ip地址
// "WWW": [ "www.abc.com", "test111.test.cc" ]
}
],
/**
*
* 穿TCP
* linux#ssh -oPort=12701 {root}@{ServerAddr} ServerAddr iproot
* 访访
*/
"Forwards": [
{
"LocalIp": "127.0.0.1",
"LocalPort": 3389, // windows远程桌面端口为3389
"RemotePort": 1274 // 访问 服务端ip:1274 即可实现远程window桌面
}
]
}
}