Skip to content

内网穿透frp使用

This page demonstrates usage of some of the runtime APIs provided by VitePress.

服务端配置

1.解压安装包:frp_0.45.0_linux_amd64
2.进入解压目录运行脚本:./frps(服务端) -c ./frps.ini
frps.ini配置信息:
bind_port = 7000
授权码,请改成更复杂的
token = concare20111115

frp管理后台端口,请按自己需求更改
dashboard_port = 6900
frp管理后台用户名和密码,请改成自己的
dashboard_user = admin
dashboard_pwd = lzhuai@2020
enable_prometheus = true

客户端配置

1.解压windows版本frp
2.配置windows配置文件:
[common]
server_addr =
server_port = 7000
token = concare20111115
[6001]
type = tcp
local_ip = 127.0.0.1
local_port = 6001
remote_port = 6001
[6003]
type = tcp
local_ip = 127.0.0.1
local_port = 6003
remote_port = 6003
3.启动通过exe文件启动windows的frp连接远程服务器

More

Check out the documentation for the full list of runtime APIs.