[GH-ISSUE #4357] visitors的配置问题,如何连不同user的proxies?a用户的proxies配置x完成后,在b用户来看应该是a.x, 但当b用户配置成a.x后,接入时显示的是b.a.x不存在 #3439

Closed
opened 2026-05-05 14:12:57 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @miws on GitHub (Jul 30, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4357

Bug Description

visitors的配置问题,如何连不同user的proxies?a用户的proxies配置x完成后,在b用户来看应该是a.x, 但当b用户配置成a.x后,接入时显示的是b.a.x不存在

frpc Version

0.59.0

frps Version

0.55.1

System Architecture

linux/amd64

Configurations

#a用户 frpc.toml
user="a"
proxies
name = "redis"
type = "stcp"
secretKey = "redis"
localIP = "127.0.0.1"
localPort = 6379
allowUsers = ["*"]

#b用户 frpc.toml
user="b"
visitors
name = "rV"
type = "stcp"
serverName = "a.redis"
secretKey = "redis"
bindAddr = "127.0.0.1"
bindPort = 6379

Logs

visitors的配置问题,如何连不同user的proxies?a用户的proxies配置x完成后,在b用户来看应该是a.x, 但当b用户配置成a.x后,启动是成功的,当使用时 时显示的是b.a.x不存在

2024-07-31 09:42:32.125 [W] [visitor/stcp.go:114] [bfb9e0a1e6472163] [b.rV] start new visitor connection error: custom listener for [b.a.redis] doesn't exist

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @miws on GitHub (Jul 30, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4357 ### Bug Description visitors的配置问题,如何连不同user的proxies?a用户的proxies配置x完成后,在b用户来看应该是a.x, 但当b用户配置成a.x后,接入时显示的是b.a.x不存在 ### frpc Version 0.59.0 ### frps Version 0.55.1 ### System Architecture linux/amd64 ### Configurations #a用户 frpc.toml user="a" [[proxies]] name = "redis" type = "stcp" secretKey = "redis" localIP = "127.0.0.1" localPort = 6379 allowUsers = ["*"] #b用户 frpc.toml user="b" [[visitors]] name = "rV" type = "stcp" serverName = "a.redis" secretKey = "redis" bindAddr = "127.0.0.1" bindPort = 6379 ### Logs visitors的配置问题,如何连不同user的proxies?a用户的proxies配置x完成后,在b用户来看应该是a.x, 但当b用户配置成a.x后,启动是成功的,当使用时 时显示的是b.a.x不存在 2024-07-31 09:42:32.125 [W] [visitor/stcp.go:114] [bfb9e0a1e6472163] [b.rV] start new visitor connection error: custom listener for [b.a.redis] doesn't exist ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Jul 31, 2024):

View documents.

<!-- gh-comment-id:2259960796 --> @fatedier commented on GitHub (Jul 31, 2024): View documents.
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#3439
No description provided.