Ocserv-install-script-for-CentOS-RHEL-7 icon indicating copy to clipboard operation
Ocserv-install-script-for-CentOS-RHEL-7 copied to clipboard

能够建立连接却不能访问,无防火墙无 route

Open 7nights opened this issue 9 years ago • 3 comments

只能够建立连接却无法访问,删掉 route 规则后无法打开任何网站。 detail 里显示没有从服务器收到任何包。 服务器防火墙全部关闭。 能够从什么地方看到更详细的信息吗?

7nights avatar Dec 26 '15 10:12 7nights

我在 Linode VPS 上也遇到了相同的情况 ...

ghost avatar Mar 21 '16 12:03 ghost

防火墙必须开启,因为需要防火墙转发数据包。 如果你使用iptables,看下 /etc/sysconfig/iptables ,如果有这一行,删掉重启iptables试试 -A FORWARD -j REJECT —reject-with icmp-host-prohibited On Mar 21, 2016 20:50, "B1ur3" [email protected] wrote:

我在 Linode VPS 上也遇到了相同的情况 ...

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/travislee8964/Ocserv-install-script-for-CentOS-RHEL-7/issues/30#issuecomment-199257705

travislee89 avatar Mar 21 '16 18:03 travislee89

是的,必须启动防火墙。

#-A INPUT -j REJECT --reject-with icml-host-prohibited
#-A FORWARD -j REJECT --reject-with icmp-host-prohibited

这两句最好都删除。

yanzi1225627 avatar May 22 '16 01:05 yanzi1225627