linux下开启和停止防火墙

来源:互联网 发布:网络爱国事例 编辑:程序博客网 时间:2024/06/05 05:54
1) 重启后生效 
开启: chkconfig iptables on
关闭: chkconfig iptables off

2) 即时生效,重启后失效
开启: service iptables start
关闭: service iptables stop
原创粉丝点击