版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

NetDispatch

  • 连接丢失
  • 服务端程序崩溃退出等


...

功能演示

本地设备的webssh功能本地设备的webssh功能,账号密码与后台ssh的一致。

如果从本地网口的web访问,会跳转到局域网的ip

如果从远端omc访问,会跳转到omc的ip

...

代码块
bindAddr = "0.0.0.0"
bindPort = 9000
quicBindPort = 9000

transport.maxPoolCount = 2000
transport.tcpMux = true
transport.tcpMuxKeepaliveInterval = 60
transport.tcpKeepalive = 7200
transport.tls.force = false

webServer.addr = "0.0.0.0"
webServer.port = 9003
webServer.user = "adminxxxxxx"
webServer.password = "msj123xxxxxx"
webServer.pprofEnable = false

log.to = "./frps.log"
log.level = "info"
log.maxDays = 3
log.disablePrintColor = false

auth.method = "token"
auth.token = "msj123"

allowPorts = [
  { start = 60000, end = 65535 }
]

maxPortsPerClient = 1024
udpPacketSize = 1500
natholeAnalysisDataReserveHours = 168

...

代码块
serverAddr = "49.234.66.123"
serverPort = 9000

auth.method = "token"
auth.token = "msj123xxxxx"

webServer.addr = "0.0.0.0"
webServer.port = 9003
webServer.user = "adminxxxxxx"
webServer.password = "msj123xxxxxx"
webServer.pprofEnable = false

[[proxies]]
name = "192.168.1.27-ssh"
type = "tcp"
localIP = "192.168.1.27"
localPort = 22
remotePort = 60120

...