fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
81.42k stars 12.82k forks source link

设置[[proxies]] #4218

Closed Leard-K closed 4 weeks ago

Leard-K commented 1 month ago

Bug Description

设置到第5个的时候,远程端口没有了 image

frpc Version

0.58.0

frps Version

0.58.0

System Architecture

linux/amd64

Configurations

frpc serverAddr = "xxxxx" serverPort = 7000

auth.method = "token" auth.token = "xxxxx"

webServer.addr = "0.0.0.0" webServer.port = 7400 webServer.user = "admin" webServer.password = "admin_5GFKSt" webServer.pprofEnable = false

tls

transport.tls.certFile = "/etc/frp/ssl/client.crt"

transport.tls.keyFile = "/etc/frp/ssl/client.key"

transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt"

[[proxies]] name = "cloudreve" type = "tcp" localIP = "192.168.1.6" localPort = 40033 remotePort = 40033 healthCheck.type = "tcp"

[[proxies]] name = "1panel" type = "tcp" localIP = "192.168.1.6" localPort = 14329 remotePort = 14329 healthCheck.type = "tcp"

[[proxies]] name = "jellyfin" type = "tcp" localIP = "192.168.1.6" localPort = 8096 remotePort = 8096 healthCheck.type = "tcp"

[[proxies]] name = "frpc" type = "tcp" localIP = "192.168.1.6" localPort = 7400 remotePort = 7400 healthCheck.type = "tcp"

[[proxies]] name = "php_my_admin" type = "tcp" localIP = "192.168.1.6" localPort = 8089 remotePort = 8089 healthCheck.type = "tcp"

frps bindAddr = "0.0.0.0" bindPort = 7000

HTTPS 类型代理监听的端口,启用后才能支持 HTTPS 类型的代理。

vhostHTTPSPort = 7001

auth.method = "token" auth.token = "xxxx"

webServer.addr = "0.0.0.0" webServer.port = 7500 webServer.user = "admin" webServer.password = "admin_NFck2B"

允许客户端设置的最大连接池大小,如果客户端配置的值大于此值,会被强制修改为最大值,默认为 5。

transport.maxPoolCount = 50

Leard-K commented 1 month ago

应该是心跳检测把连接池耗光了

xqzr commented 1 month ago
#healthCheck.type = "tcp"