@
cinhoo --frpc
[common]
authentication_method = token
token = public
server_addr = xxx.xxx.xx
server_port = 25931
log_file = logs/xx.log
log_level = info
log_max_days = 3
protocol = tcp
login_fail_exit = false
tcp_mux = true
tls_enable = true
[[proxies]]
name = "test-http"
type = "udp"
localIP = "127.0.0.1"
local_port = 8511
remote_port = 23458
-- frps
bindAddr = "0.0.0.0"
bindPort = 23931
allowPorts = [{ start = 25638, end = 35368 }]
auto.method = "token"
auth.token = "public"
webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "admin"
就这两个文件,本地服务两个都启动的 8511 ,只是 remote_port=不一致