zabbix firewall
【摘要】 zabbix firewall centos 6 firewall list firewall iptables -L iptable save zabbix firewall## add iptables# iptables -I INPUT -p tcp --dport 10050 -j ACCEPT# iptables -I OUTPUT -p tcp --dport 10051 -...
zabbix firewall
## add iptables
# iptables -I INPUT -p tcp --dport 10050 -j ACCEPT
# iptables -I OUTPUT -p tcp --dport 10051 -j ACCEPT
centos 6 firewall list
# Generated by iptables-save v1.4.7 on Fri Nov 20 20:08:48 2015
*filter
-A INPUT -p tcp -m tcp –dport 10050 -j ACCEPT
-A INPUT -p tcp -m state –state NEW -m tcp –dport 6001 -j ACCEPT
-A INPUT -p tcp -m state –state NEW -m tcp –dport 10051 -j ACCEPT
-A OUTPUT -p tcp -m tcp –dport 10051 -j ACCEPT
-A OUTPUT -p tcp -m state –state NEW -m tcp –dport 10050 -j ACCEPT
COMMIT
# Completed on Fri Nov 20 20:08:48 2015
firewall iptables -L
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp – anywhere anywhere tcp dpt:zabbix-agent
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp – anywhere anywhere tcp dpt:zabbix-trapper
ACCEPT tcp – anywhere anywhere state NEW tcp dpt:zabbix-agent
iptable save
# /etc/init.d/iptables save
【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)