[GH-ISSUE #4218] 设置[[proxies]] #3324

Closed
opened 2026-05-05 14:08:35 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Leard-K on GitHub (May 14, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4218

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

Originally created by @Leard-K on GitHub (May 14, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4218 ### Bug Description 设置到第5个的时候,远程端口没有了 ![image](https://github.com/fatedier/frp/assets/73871922/5a0e5103-edff-4a90-bbb2-9e7264f4013f) ### 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
Author
Owner

@Leard-K commented on GitHub (May 14, 2024):

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

<!-- gh-comment-id:2109578571 --> @Leard-K commented on GitHub (May 14, 2024): 应该是心跳检测把连接池耗光了
Author
Owner

@xqzr commented on GitHub (May 14, 2024):

#healthCheck.type = "tcp"
<!-- gh-comment-id:2111119841 --> @xqzr commented on GitHub (May 14, 2024): ```toml #healthCheck.type = "tcp" ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3324
No description provided.