evet centos 6 da öyleydi bende daha önce 6 kullanıyordum ama centos 7 de bu komut çalışmıyor. "The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl." uyarısı veriyor
hocam sizin için şöyle birşey buldum. 7.x de gelen firewall servisini devre dışı bırakıp klasik iptables servisini kuruyor mantık sanırım .
systemctl disable firewalld
Then install iptables-service by following command:
yum install iptables-services
Then enable iptables as services:
systemctl enable iptables
Now you can save your iptable rules by following command:
service iptables save