云盟
标题:
centos 6.8 关防火墙命令是什么?
[打印本页]
作者:
云盟
时间:
2020-1-8 14:23
标题:
centos 6.8 关防火墙命令是什么?
[root@localhost~]#serviceiptablesstatus
停止防火墙:
[root@localhost~]#serviceiptablesstop
启动防火墙:
[root@localhost~]#serviceiptablesstart
重启防火墙:
[root@localhost~]#serviceiptablesrestart
永久关闭防火墙:
[root@localhost~]#chkconfigiptablesoff
永久关闭后启用:
[root@localhost~]#chkconfigiptableson
————————————————
欢迎光临 云盟 (http://www.mcxt.com/)
Powered by Discuz! X3.4