frp内网穿透

161 阅读1分钟

配置

教程地址

服务器配置frps.ini

image.png

客户端配置

[common]
server_addr = xxxxxx
server_port = 7000

[web01]
type = http
local_ip = 127.0.0.1
local_port = 80
custom_domains = 服务器域名地址

使用

客户端连接

./frpc -c ./frpc.ini

image.png

监听

本地开一个服务器监听就行了

例如我用的golang,使用postman请求你自己的域名地址,就能监听到

image.png