linux中service的问题

1.描述问题

2.解决方案

systemctl stop firewalld
systemctl mask firewalld

Then, install the iptables-services package:

yum install iptables-services

Enable the service at boot-time:

systemctl enable iptables

Managing the service

systemctl [stop|start|restart] iptables

Saving your firewall rules can be done as follows:

service iptables save


参考:http://www.bubuko.com/infodetail-1954829.html
http://blog.csdn.net/song_csdn1550/article/details/51768671
http://blog.163.com/xavier_666/blog/static/25884000720163299503423/
http://blog.csdn.net/song_csdn1550/article/details/51768671
原文地址:https://www.cnblogs.com/wuheng1991/p/8260034.html