trojanpanel / install-script

Multi-user web administration panel supporting Xray/Trojan-Go/Hysteria/NaiveProxy
https://trojanpanel.github.io
1.81k stars 466 forks source link

安装过程好像有点问题,客户端无法连接代理服务器 #380

Open moyosqz opened 7 months ago

moyosqz commented 7 months ago

安装 trojan-panel-core / trojan-panel-server,http 服务器选择 caddy2,并选择自动更新 ssl 证书。

成功安装 trojan-panel-core / trojan-panel-server 之后,打开浏览器访问伪装域名(域名解析已完成,域名绑定的 ip 可以正常访问),发现无法访问,trojan-panel-core / trojan-panel-server 的伪装域名都无法访问。

无奈,只能通过 ip 地址进入 trojan-panel-server 管理后台,新建服务器、新建节点、新建用户之后,发现使用客户端 (v2RayN) 也无法连接代理服务器。

通过 ssh,已经确定所有需要的端口都在防火墙打开了,查看 trojan-panel-core / trojan-panel-server 所在服务器的防火墙状态 (systemctl status firewalld),显示

Mar 28 18:57:32 VM-8-3-centos firewalld[6939]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t nat -F DOCKER' failed: iptables: No chain/target/match by that name. Mar 28 18:57:32 VM-8-3-centos firewalld[6939]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t nat -X DOCKER' failed: iptables: No chain/target/match by that name. Mar 28 18:57:32 VM-8-3-centos firewalld[6939]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -F DOCKER' failed: iptables: No chain/target/match by that name. Mar 28 18:57:32 VM-8-3-centos firewalld[6939]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -X DOCKER' failed: iptables: No chain/target/match by that name. Mar 28 18:57:32 VM-8-3-centos firewalld[6939]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -F DOCKER-ISOLATION-STAGE-1' failed: iptables: No chai...that name. Mar 28 18:57:32 VM-8-3-centos firewalld[6939]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION-STAGE-1' failed: iptables: No chai...that name. Mar 28 18:57:32 VM-8-3-centos firewalld[6939]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -F DOCKER-ISOLATION-STAGE-2' failed: iptables: No chai...that name. Mar 28 18:57:32 VM-8-3-centos firewalld[6939]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION-STAGE-2' failed: iptables: No chai...that name. Mar 28 18:57:32 VM-8-3-centos firewalld[6939]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -F DOCKER-ISOLATION' failed: iptables: No chain/target...that name. Mar 28 18:57:32 VM-8-3-centos firewalld[6939]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION' failed: iptables: No chain/target...that name.

不知道上述警告信息是否与上述问题有关。