[GH-ISSUE #447] auth_token 好像已经不起作用了 #341

Closed
opened 2026-05-05 12:08:38 -06:00 by gitea-mirror · 2 comments
Owner

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服务。

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服务。
Author
Owner

@zhfish commented on GitHub (Sep 1, 2017):

看文档去。。只有一种token了

<!-- gh-comment-id:326505063 --> @zhfish commented on GitHub (Sep 1, 2017): 看文档去。。只有一种token了
Author
Owner

@xiaoli commented on GitHub (Sep 2, 2017):

从0.10.0开始,只有privilege_token了。服务器端和客户端的common中的privilege_token一致就能通过身份验证。

<!-- gh-comment-id:326713011 --> @xiaoli commented on GitHub (Sep 2, 2017): 从0.10.0开始,只有privilege_token了。服务器端和客户端的common中的privilege_token一致就能通过身份验证。
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#341
No description provided.