无法通过浏览器连接到云服务器(iptables)

时间:2013-02-21 06:59:31

标签: apache centos iptables

我不确定stackoverflow是否也允许服务器配置问题,但由于这可能与apache有关,我希望有人可以提供帮助。我正在尝试设置我的cloudserver以允许端口80上的传入连接,以便在浏览器中输入http://domain.com时可以看到我的服务器文件。 Apache已安装,我目前正在忙于设置我的iptables(我怀疑这可能是问题)。

我目前的iptables如下:

 Chain INPUT (policy ACCEPT)
 target     prot opt source               destination
 ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
 ACCEPT     icmp --  anywhere             anywhere
 ACCEPT     all  --  anywhere             anywhere
 ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
 REJECT     all  --  anywhere             anywhere            reject-with icmp-host-     prohibited

 Chain FORWARD (policy ACCEPT)
 target     prot opt source               destination
 REJECT     all  --  anywhere             anywhere            reject-with icmp-host-     prohibited

 Chain OUTPUT (policy ACCEPT)
 target     prot opt source               destination

由于这是我第一次尝试(我的网络体验与MS机器上的GUI提供的内容相符),我不确定我是否正确使用了它。

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

管理让它工作,apache没有启动:)

相关问题