Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
7nights opened this issue Dec 26, 2015 · 3 comments
Open

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

7nights opened this issue Dec 26, 2015 · 3 comments

Comments

@7nights
Copy link

7nights commented Dec 26, 2015

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

@ghost
Copy link

ghost commented Mar 21, 2016

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

@travislee89
Copy link
Collaborator

防火墙必须开启,因为需要防火墙转发数据包。
如果你使用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
#30 (comment)

@yanzi1225627
Copy link

是的,必须启动防火墙。

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

这两句最好都删除。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants