frp二级域名内网穿透

frp服务器配置

[common]
bind_port = 7000 //可自定义
vhost_http_port = 7777 
token = 123

frp客户端配置

[common]
server_addr = x.x.x.x  //frp服务器地址
server_port = 7000 //可自定义
token = 123  \\与frp服务器一致

[web]
type = http
local_port = 80
remote_port = 6000
custom_domains = www.yourdomain.com

访问 www.yourdomain.com:7777访问本地80端口项目

遇坑:我用的是阿里云的轻量型服务器,使用APPNODE管理服务器,端口必须在阿里云控制中心的防火墙开启frp端口号

posted @ 2020-06-09 17:31  堕落灬最后  阅读(968)  评论(0)    收藏  举报