从github下载适合自己系统的二进制文件
https://github.com/fatedier/frp/releases
修改 frps.ini 文件设置服务端端口
[common]
bind_port = 7000
bind_udp_port = 7000
token = 12121212
修改 客户端frpc.ini
[common]
server_addr = 服务器IP
server_port = 7000
token = 12121212
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 22
服务器启动
./frps -c ./frps.ini
客户端启动
frpc.exe -c path\frpc.ini
COMMENTS | NOTHING