内网穿透 frps

配置

[common]
#监听地址
bind_addr = 0.0.0.0
#服务端口
bind_port = 7000
#认证token
token = 
#面板界面
dashboard_addr = 0.0.0.0
dashboard_port = 7500
dashboard_user = 
dashboard_pwd = 
#http服务端口
vhost_http_port = 7080
#https服务端口
vhost_https_port = 7443
#日志
log_file = ./frps.log
log_level = info
log_max_days = 3

#Web 服务增加自定义二级域名 
#subdomain_host = ***.com  #其次在 FRP 客户端配置文件配置 subdomain 参数 通过 subdomain.subdomain_host 就可以访问到内网的 Web 服务

搭建命令

docker run --restart=always --network host -v /www/wwwroot/frp.cuicsi.cn/frps.ini:/etc/frp/frps.ini -d --name frps snowdreamtech/frps
frps.ini
zip文件
533B
© 版权声明
THE END
喜欢就支持一下吧
点赞13