0
点赞
收藏
分享

微信扫一扫

Spark实时(二):StructuredStreaming编程模型

今天你读书了吗 2024-07-28 阅读 24

防火墙基础操作

#开启防火墙
systemctl start firewalld
#关闭防火墙
systemctl stop firewalld

重新加载防火墙规则(改了规则后均需执行)

firewall-cmd --reload

防火墙开放某端口

firewall-cmd --permanent --add-port=8080/tcp

防火墙禁用某ip访问

firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.0.9" drop'

防火墙查看当前规则

firewall-cmd --list-all

防火墙移除某条规则

firewall-cmd --permanent --remove-rich-rule='rule family="ipv4" source address="192.168.0.9" drop'
举报

相关推荐

0 条评论