[CentOS] iptables.service listed as: not-found inactive dead

Tue May 31 13:21:54 UTC 2016
Eero Volotinen <eero.volotinen at iki.fi>

By default, Centos 7 uses firewalld.

Eero

2016-05-31 15:57 GMT+03:00 Alexander Farber <alexander.farber at gmail.com>:

> Hello fellow CentOS users,
>
> on a freshly installed 7.2 machine and after reading
>
>
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/chap-Managing_Services_with_systemd.html
>
> I try to enable iptables with following commands:
>
> # cat /etc/centos-release
> CentOS Linux release 7.2.1511 (Core)
>
> # rpm -qa | grep iptables
> iptables-1.4.21-16.el7.x86_64
>
> # sudo systemctl list-units --type service --all | grep iptables
> ● iptables.service                       not-found inactive dead
>  iptables.service
>
> # sudo systemctl enable iptables.service
> Failed to execute operation: No such file or directory
>
> What missing file is meant here please?
>
> Thank you
> Alex
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>