iptables防火墙

一、检查iptables服务状态 首先检查iptables服务的状态 [root@woxplife ~]# service iptables status iptables: Firewall is not running. 说明iptables服务是有安装的,但是没有启动服务。 如果没有安装的话可以直接yum安装 yum install -y iptables 启动iptables [root@woxplife ~]# service iptables start iptables: Applying firewall rules: [ OK ] 看一下当前iptables的配置情况 [root@woxplife ~]# iptables -L -n 添加到自启动chkconfig [root@woxplife ~]# chkconfig iptables on |
打赏
最新创建圈子
新闻EA运行效果图圈 2019-05-05
圈主:admin 帖子:1