1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
| serverAddr = "frps公网服务器域名或ip" serverPort = frps 服务端口
auth.token = "token 令牌"
loginFailExit = false
[[visitors]]
name = "company_stcp_remote_desktop_visitor" type = "stcp"
serverName = "company_stcp_remote_desktop" secretKey = "abcdefg"
bindPort = -1
transport.useCompression = true
[[visitors]]
name = "company_xtcp_remote_desktop_visitor" type = "xtcp"
serverName = "company_xtcp_remote_desktop" secretKey = "abcdefg" bindAddr = "127.0.0.1"
bindPort = 23389
transport.useCompression = true
keepTunnelOpen = true
fallbackTo = "company_stcp_remote_desktop_visitor"
fallbackTimeoutMs = 200
|