我和ZenOss有个问题。我在CentOS5.5 x64上安装了centos堆栈安装程序。displayed成功,没有显示错误。但当我试图浏览ip地址时,它没有回应。然后,我向iptable防火墙添加了一个异常。但还是没有回应。有人能告诉我还有什么问题吗?
我使用这些行作为防火墙异常。
iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 8080 -j ACCEPT
The output of iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:webcache
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp spt:webcache
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT esp -- anywhere anywhere
ACCEPT ah -- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited 发布于 2011-01-23 17:05:30
iptables -I INPUT 1 -p tcp --dport 8080 -j ACCEPT或
iptables -I RH-Firewall-1-INPUT 7 -p tcp --dport 8080 -j ACCEPT或编辑/etc/sysconfig/iptables
https://serverfault.com/questions/225820
复制相似问题