客户端下载地址 :https://github.com/fatedier/frp/releases
根据平台选择下载,编辑frpc.ini配置文件
假设 frps 所在服务器的 域名 为 frp.xyz.com ,token = xxxx ,自定义域名前缀为abc ,http端口为8000
示例中 链接ssh 使用 root@frp.xyz.com -p 6000
示例中 访问本地web abc.frp.xyz.com:8000
# frpc.ini
[common]
server_addr = frp.xyz.com
server_port = 7000
token = xxxx
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000
[web_abc]
type = http
local_ip = 127.0.0.1
local_port = 80
subdomain = abc