mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #212] 服务器端 common 可以设置 auth_token 吗? #143
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#143
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 @lotc on GitHub (Jan 4, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/212
说明文档里面这样介绍
示例文件里面 frps.ini 的 common 没有 auth_token,但 frpc.ini 的 common 有 auth_token
@fatedier commented on GitHub (Jan 4, 2017):
@lotc commented on GitHub (Jan 5, 2017):
根据 #213 的说法,我应该把 frps 里面每一个 proxy 的 auth_token 设置成一样的;
然后 frpc 里面只需要在 common 项填写,对吧?
@fatedier commented on GitHub (Jan 5, 2017):
只有你一个人用的话是的,当你需要让其他人使用时,可以为他用的 proxy 设置另一个 auth_token。
@lotc commented on GitHub (Jan 5, 2017):
完全明白你的思路了。
frps 里面根据不同用户需求,将用户1需要的服务全部设置成 auth_token1,用户2的设置成 auth_token2,用户3就 auth_token3。
然后 frpc 上,用户1使用需要的服务,全部使用 auth_token1;用户2就用 auth_token2,以此类推。