frpc.ini
[common]
server_addr = www.baidu.com
server_port = xxxx
token=xxx xxx xxx
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 222
[web]
type=http
local_port=xx
custom_domains=*.baidu.com
frps.ini
[common]
#本机IP 127.0.0.1
bind_port=0.0.0.0
#绑定端口
bind_port = xxxx
#web绑定端口号
vhost_http_port=xxxx
#面板端口
dashboard_port = xxx
#口令
token=xxx xxx
#用户名
dashboard_user = admin
#密码
dashboard_pwd = xxx xxx
这里注意token两个文件要相同。