Linux Iptbles
2016-07-30 09:15
253 查看
永久性关闭防火墙
=======================================================
1.首先查看防火墙状态
[root@zyl ~]# service iptables status
2.永久性生效,重启后不会复原
开启:
[root@zyl ~]# chkconfig iptables on
关闭:
[root@zyl ~]# chkconfig iptables off
3.及时生效,重启之后复原
开启:
[root@zyl ~]# service iptables start
或
[root@zyl ~]# /etc/init.d/iptables start
关闭:
[root@zyl ~]# service iptables stop
或
[root@zyl ~]# /etc/init.d/iptables stop
=======================================================
=======================================================
1.首先查看防火墙状态
[root@zyl ~]# service iptables status
2.永久性生效,重启后不会复原
开启:
[root@zyl ~]# chkconfig iptables on
关闭:
[root@zyl ~]# chkconfig iptables off
3.及时生效,重启之后复原
开启:
[root@zyl ~]# service iptables start
或
[root@zyl ~]# /etc/init.d/iptables start
关闭:
[root@zyl ~]# service iptables stop
或
[root@zyl ~]# /etc/init.d/iptables stop
=======================================================
相关文章推荐
- Linux socket 初步
- Linux Kernel 4.0 RC5 发布!
- 【CF 应用开发大赛】IT Share(IT分享网)
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)
- Linux 信号signal处理机制