frp配置

frps.ini

bind_port = 7000
vhost_http_port = 53390

 

frpc.ini

[common]
server_addr = xxx.xxx.xxx.xxx
server_port = 7000

[web]
type = http
# 本地http服务地址
local_ip = 127.0.0.1
# 本地http服务端口
local_port = 80
# 分配自定义域名访问穿透服务 假如没有域名,则此处请填为frps服务端的服务器(IP)
custom_domains = xxx.xxxx.net
# 设置认证的用户名
#http_user = abc
# 设置认证的密码
#http_pwd = abc
# 重定向到本地域名
host_header_rewrite = www.xxx.com

 

posted @ 2020-05-19 16:16  Double330  阅读(192)  评论(0编辑  收藏  举报