Frp
Last updated
Last updated
# frps.ini
[common]
# Frp通信端口
bind_port = 7000
# 当前服务端对外暴露的http端口,用于域名或IP直接访问
vhost_http_port = 8080# 控制台直接启动
./frps -c ./frps.ini# frpc.ini
[common]
# 你的公网服务器的IP
server_addr = x.x.x.x
# Frp服务端通信端口
server_port = 7000
# 此处web命名随意
[web]
type = http
# 此端口是客户端本地的网站暴露端口
local_port = 80
# 此域名解析指向公网服务器
custom_domains = www.yourdomain.com./frpc -c ./frpc.ini[common]
bind_port = 7000[common]
server_addr = x.x.x.x
server_port = 7000
[tcp1]
type = tcp
local_ip = 127.0.0.1
local_port = 9000
remote_port = 9000