Failed to stop iptables.service: Unit iptables.service not loaded.

redhat 7

[root@lk0 ~]# service iptables stop
Redirecting to /bin/systemctl stop iptables.service
Failed to stop iptables.service: Unit iptables.service not loaded.
[root@lk0 ~]#
[root@lk0 ~]# service iptables status
Redirecting to /bin/systemctl status iptables.service
● iptables.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)

客户端telnet ip 8088 , 不通, 郁闷!

原来 redhat 7 的防火墙不能那么关。。。

http://jingyan.baidu.com/article/e52e3615a9009440c70c5162.html

使用systemctl 就ok了!

systemctl stop firewalld

systemctl status firewalld

systemctl disable firewalld

systemctl enable firewalld

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值