4

I am using this image from AWS MarketPlace. The Problem is that centos 7 is supposed to come with firewalld instead of iptables. But firewalld is not installed on it but iptables is installed. Why is that. What other changes are there for this particular image that centos is providing that are supposed to be on regular centos 7 images.

Saad Masood
  • 169
  • 3
  • 9
  • You can always install firewalld yourself. – Michael Hampton Sep 09 '15 at 08:25
  • Yes that I can do. But I want to understand why doesn't it comes with the image when it's supposed to be or is my assumption wrong? – Saad Masood Sep 09 '15 at 08:26
  • And what other such differences are there. – Saad Masood Sep 09 '15 at 08:26
  • @SaadMasood An addition is of course already mentioned in the highlights *"Starting with CentOS-7 we now include cloud-init support in all CentOS AMI's"* and you can of-course simply check what is actually installed once you have deployed an image... – HBruijn Sep 09 '15 at 08:39

1 Answers1

6

You get exactly the image the description says:

... built with a minimal profile ... The image contains just enough packages to run within AWS, bring up an SSH Server and allow users to login.

A reason not to enable/pre-configure any firewall is of course that it is not a requirement in many deployment scenario's and an image provides the most flexibility when people only need to add what they need rather than also remove what they don't...

Reaces
  • 5,547
  • 4
  • 36
  • 46
HBruijn
  • 72,524
  • 21
  • 127
  • 192
  • Then why is iptables installed when centos switched to firewalld. – Saad Masood Sep 09 '15 at 08:42
  • 1
    Firewalld is just a front end to iptables/netfilter. @SaadMasood – user9517 Sep 09 '15 at 08:45
  • 1
    So there are iptables commandline program, iptables service and firewalld service, ufw etc. only iptables commandline program talks to netfilter kernel module, all others are just configuration tools. Though when firewalld is installed it takes precedence over all other tools even iptables commandline program. – Kishor Pawar Aug 09 '16 at 14:00