ES集群运维——启用防火墙
使用的是CentOS7自带的防火墙——firewalld
复制代码
1
2
3
4
5
6
7
8
9
10su systemctl start firewalld firewall-cmd --permanent --add-rich-rule="rule family=ipv4 source address=192.168.225.1/24 accept" firewall-cmd --reload --可以具体到端口 firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.225.139" port protocol="tcp" port="9200" accept" --回滚 firewall-cmd --permanent --remove-rich-rule="rule family=ipv4 source address=192.168.225.1/24 accept" systemctl stop firewalld --查看防火墙文件
最后
以上就是畅快酒窝最近收集整理的关于ES集群运维——启用防火墙的全部内容,更多相关ES集群运维——启用防火墙内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复