mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 02:39:29 +08:00
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
||
"Logging": {
|
||
"LogLevel": {
|
||
"Default": "Information",
|
||
"Microsoft": "Warning",
|
||
"Microsoft.Hosting.Lifetime": "Information"
|
||
}
|
||
},
|
||
"ClientSettings": {
|
||
"Common": {
|
||
// 服务端公网ip, 对应服务端配置文件的 BindAddr
|
||
"ServerAddr": "127.0.0.1",
|
||
|
||
// 服务端通信端口,对应服务端配置文件的 BindPort
|
||
"ServerPort": 1271
|
||
},
|
||
"Webs": [
|
||
{
|
||
// 本地站点所在内网的ip
|
||
"LocalIp": "127.0.0.1",
|
||
|
||
// 站点监听的端口号
|
||
"LocalPort": 8001,
|
||
|
||
// 子域名, 访问本站点时的url为 http://{SubDomain}.{Domain}:{ProxyPort_HTTP}/
|
||
"SubDomain": "test" // test.test.cc
|
||
}
|
||
],
|
||
|
||
/**
|
||
* ssh穿透,ssh访问内网主机
|
||
* 访问方式 #ssh -oPort=12701 {root}@{ServerAddr}
|
||
* ServerAddr 填入服务端ip,root对应内网用户名
|
||
*/
|
||
"SSH": [
|
||
{
|
||
"LocalIp": "127.0.0.1",
|
||
"LocalPort": 22,
|
||
"RemotePort": 1273
|
||
},
|
||
{
|
||
"LocalIp": "192.168.0.91",
|
||
"LocalPort": 3389, // windows远程桌面端口为3389
|
||
"RemotePort": 1274
|
||
}
|
||
]
|
||
}
|
||
} |