linux 常用命令

来源:互联网 发布:电脑音乐合成器软件 编辑:程序博客网 时间:2024/06/04 00:55

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

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

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

  1. 开启: chkconfig iptables on  
  2.  
  3. 关闭: chkconfig iptables off  
  4.  

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

  1. 开启: service iptables start  
  2.  
  3. 关闭: service iptables stop  
  4.  
原创粉丝点击