常见Linux OS防火墙命令汇总(不断更新中...)
2017-06-03 07:35
561 查看
工作中经常碰见小伙伴着急忙慌的询问防火墙相关命令,而Linux os各家防火墙命令又有差异,很难全部记住,特此分享我平时积累的防火墙命令。
1.VMware ESXI
快捷键Alt+F1 进入VMware ESXI shell模式;Alt+F2 推出shell#esxcli network firewall set - -enabled false/true
开启或关闭防火墙#esxcli network firewall get
获得防火墙状态2.SUSE11
chkconfig SuSEfirewall2_setup offchkconfig SuSEfirewall2_init off
关闭防火墙
#rcapache2 start/stop
关闭或开启apache服务3.SUSE12
#chkconfig SuSEfirewall2 off
#chkconfig SuSEfirewall2 init off
关闭防火墙#systemctl list-unit-files | grep fire
显示防火墙状态4.RHEL7.2
#systemctl enable firewalld打开防火墙
#systemctl status firewalld
查看防火墙状态#systemctl stop firewalld
临时关闭#systemctl disable firewalld
永久关闭相关文章推荐
- 【工匠大道】一些Vim(Linux)不常见但很逼格的命令(不断更新中)
- Linux常用命令汇总(不断更新)
- oracle常见操作汇总(不断更新中....)
- linux命令知多少(不断更新中......)
- [原创总结 不断更新]Linux 下常用命令操作总结
- linux学习类目:常见命令(持续更新)
- linux常用命令备忘(不断更新中...)
- Linux实用操作命令(不断更新)
- Linux常用命令汇总(持续更新中)
- Linux常用vim命令(不断更新。。。)
- Linux 常用易忘操作命令整理汇总(持续收集更新...)
- Linux常见压缩解压缩命令汇总
- Linux 命令精选(不断更新中)
- 用到了以下linux命令,不断更新
- 【Git之窗】(十一)常用命令汇总(不断更新)
- linux常用命令(不断更新)
- linux下yum安装支持库命令(不断更新)
- linux常用命令,不断学习和更新中...
- Linux之一条命令解决常见问题(持续更新)
- 【猿小白】常见linux面试问题汇总~~~持续更新~~~直到拿到心仪的offer