关于frp+宝塔nginx穿透不成功?

1台公网IP服务器(安装宝塔nginx),2台内网centos7主机,其中一台在公网服务器宝塔nginx配置代理可以访问网站,另一台配置Frpc无法访问网站,显示网站未备案,但是fprs控制面板显示正常。2台内网主机ssh都可以远程访问,唯独web无法访问。

img

img

frps配置

[common]
bind_addr = 0.0.0.0
#服务端需要开启的端口(与客户端绑定的进行通信的端口)
bind_port = 7000
#服务端需要开启的端口(访问客户端web服务自定义的端口号)
v host_http_port = 8080
#https服务端口
vhost_https_port = 8433
vhost_http_timeout = 60
token =  xxx0723xxxxx
#认证token
# 控制面板的端口、账号、密码
dashboard_port = 7500 
dashboard_user =xxxx
dashboard_pwd =xxxx

frpc配置

## 客户端简易配置文件frpc.ini
[ common]
#公网IP,自行设置成自己的服务端ip
server_addr = x.x.x.x
#公网端口
server_port = 7000
#认证token,需要跟服务端的token保持一致
token = xxx0723xxxxx
[ssh_HWzj]
type = tcp
#要穿透的本地端口
local_port = 22
#本地局域网ip
local_ip = 192.168.1.58
#暴露到外网的端口
remote_port =6001
#单位下载速度限制
bandwidth_limit = 1MB
[http_Wisdom table]
type = http
local_ip = 127.0.0.1
local_port = 8086
custom_domains = http://table.sxfrkj.cn

能访问的配置

img


不能访问的配置

img

你这大概率是被拦截了,你不用8080端口试下

有提示【显示网站未备案】,肯定是被拦截了。

国内IP地址使用网站需要备案使用,不然换端口也是大概率会被拦截

域名访问需要使用80端口做代理建议把8080 更换为80

建议换个端口

你看一下https://www.codenong.com/jsa0b0c3afce46/

没有备案,不是程序的问题