国内新闻
iptables防火墙
2019-01-12  浏览:550
马上注册,结交更多好友,下载更多资源

您需要 登录 才可以下载或查看,没有帐号?注册 一、检查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

外汇交易有很大的风险性,本站所有资源均来自网络,请选择使用,如若出现亏损,本站不承担任何责任!

发表评论
0评