码迷,mamicode.com
首页 > 其他好文 > 详细

Iptables服务相关命令

时间:2018-08-20 15:39:06      阅读:118      评论:0      收藏:0      [点我收藏+]

标签:设置   top   开启   service   kconfig   查看   table   开机   开机启动   

 

1.查看iptables状态

   service iptables status

2.开启/关闭iptables

  service iptables start

  service iptables stop

3.查看iptables是否开机启动

  chkconfig iptables --list

4.设置iptables开机启动/不启动

  chkconfig iptables on

  chkconfig iptables off

Iptables服务相关命令

标签:设置   top   开启   service   kconfig   查看   table   开机   开机启动   

原文地址:https://www.cnblogs.com/seamanone/p/9505473.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!