首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ZenOSS网络接口连接

ZenOSS网络接口连接
EN

Server Fault用户
提问于 2011-01-23 16:23:44
回答 1查看 2.1K关注 0票数 0

我和ZenOss有个问题。我在CentOS5.5 x64上安装了centos堆栈安装程序。displayed成功,没有显示错误。但当我试图浏览ip地址时,它没有回应。然后,我向iptable防火墙添加了一个异常。但还是没有回应。有人能告诉我还有什么问题吗?

我使用这些行作为防火墙异常。

代码语言:javascript
复制
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 
EN

回答 1

Server Fault用户

发布于 2011-01-23 17:05:30

代码语言:javascript
复制
iptables -I INPUT 1 -p tcp --dport 8080 -j ACCEPT

代码语言:javascript
复制
iptables -I RH-Firewall-1-INPUT 7 -p tcp --dport 8080 -j ACCEPT

或编辑/etc/sysconfig/iptables

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/225820

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档