mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2586] Why use user as the prefix of server_name? #2059
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2059
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jat001 on GitHub (Sep 23, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2586
Bug Description
I have multiple frp clients on multiple computers so I use the prefix
userto identify them.frpc adds the prefix to the proxy name. but it also adds the prefix to
server_name, which is not what I want.https://github.com/fatedier/frp/blob/dev/pkg/config/visitor.go#L145
For example: see configurations.
frpc Version
0.37.1
frps Version
0.37.1
System Architecture
linux/amd64
Configurations
I want to connect to the ssh service of client A on client B, and connect to the ssh service of client B on client A.
So these are my configurations.
(Other irrelevant configurations like
local_ip,local_portandbind_addr,bind_porthave been removed.)client A:
client B:
Logs
I got the following error because frpc added the prefix
cli_ato the server_namecli_b.ssh.Steps to reproduce
No response
Affected area
@fatedier commented on GitHub (Sep 24, 2021):
You can't connect from one user to another now.
@github-actions[bot] commented on GitHub (Oct 25, 2021):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@VictoriqueDeBlois commented on GitHub (Sep 21, 2022):
这个连接不同用户的前缀处理能在未来版本实现吗?