Linux防火墙(Iptables)的开启与关闭

Linux中的防火墙主要是对iptables的设置和管理.

1. Linux防火墙(Iptables)重启系统生效

开启: chkconfig iptables on

关闭: chkconfig iptables off  

2.Linux防火墙(Iptables) 即时生效,重启后失效

开启: service iptables start   

关闭: service iptables stop

需要说明的是对于Linux下的其它服务都可以用以上命令执行开启和关闭操作。

posted on 2015-12-16 02:50  Li Kui  阅读(280)  评论(0编辑  收藏  举报