mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #447] auth_token 好像已经不起作用了 #341
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#341
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 @xiaoli on GitHub (Sep 1, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/447
服务器frp版本: frp_0.13.0_linux_amd64
frps.ini
`[common]
bind_port = 7000
vhost_http_port = 8008
subdomain_host = xxx.xxx2018.com
dashboard_port = 7500
dashboard's username and password are both optional,if not set, default is admin.
dashboard_user = admin
dashboard_pwd = admin
log_file = ./frps.log
log_level = info
[f1.web]
auth_token = xxx.xxx2018
[f1.ssh]
auth_token = xxx.xxx2018`
客户端frp版本:frp_0.13.0_linux_arm
frpc.ini
`[common]
server_addr = xx.xx.xx.xx
server_port = 7000
auth_token = ff.2018
[f1.ssh]
local_port = 22
remote_port = 60001
[f1.web]
type = http
local_port = 8123
subdomain = f1`
通过在frps.ini和frpc.ini中用不匹配的auth_token,依然能顺利的创建f1.ssh和f1.web服务。
@zhfish commented on GitHub (Sep 1, 2017):
看文档去。。只有一种token了
@xiaoli commented on GitHub (Sep 2, 2017):
从0.10.0开始,只有privilege_token了。服务器端和客户端的common中的privilege_token一致就能通过身份验证。