FRP配置方法


启动服务端 (客户端同理)

./frps -c ./frps.ini

frps.ini配置

[common]
bind_port = 7000

authentication_method = token
token = <口令>

frpc.ini配置

[common]
server_addr = <服务器IP或域名>
server_port = 7000

authentication_method = token
token = <口令>

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = <本机端口>
remote_port = <服务器端口>

相关