mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4476] [Feature Request] 关于allowUsers的命令模式使用方式 #3535
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#3535
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 @finallycc on GitHub (Oct 9, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4476
Describe the feature request
版本0.60.0
我希望能在文档上增加 allowUsers的命令模式使用方式
希望frpc stcp visitor 能增加--server_user参数的支持
您好,以下是我的探索过程,我参考配置
在linux A系统使用
ssh -R :80:127.0.0.1:22 v0@192.168.1.10 -p 2200 stcp -t Pwd001 -u finallycc -n U001 --sk P001 --allow-users *创建stcp,这个* 号不生效
ssh -R :80:127.0.0.1:22 v0@192.168.1.10 -p 2200 stcp -t Pwd001 -u finallycc -n U001 --sk P001 --allow-users finallycc创建stcp,这个是生效的
在linux B系统使用
./frpc stcp visitor -s "192.168.1.10" -P 9000 -t Pwd001 --uc --ue -n V001 -u finallycc --server_name U001 --sk P001 --bind_addr "127.0.0.1" --bind_port 22能否给我一个例子能正确配置--allow-users 参数?
您好,我发现--server_user 这个参数在命令模式下,还未支持,如果可以希望您增加以下 **Usage: frpc stcp visitor [flags]
Flags:
--bind-addr string bind addr
--bind-port int bind port
-h, --help help for visitor
--server-name string server name
--sk string secret key
--uc use compression
--ue use encryption
-n, --visitor-name string visitor name**
经过测试 --allow-users U002 和--allow-users "*" 是可以的 但是我如果想设置多个用户呢 我测试了如下场景,都失败了 --allow-users U001 U002 --allow-users "U001" "U002" --allow-users '["U001","U002"]' --allow-users [U001,U002] --allow-users ["U001","U002"]
请问我该如何配置U001 和U002
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Oct 9, 2024):
@fatedier commented on GitHub (Oct 9, 2024):
TODO