Skip to Content
Red Hat Enterprise Linux Server Cookbook
book

Red Hat Enterprise Linux Server Cookbook

by William Leemans
December 2015
Intermediate to advanced
250 pages
4h 41m
English
Packt Publishing
Content preview from Red Hat Enterprise Linux Server Cookbook

Secure the network with firewalld

firewalld is a set of scripts and a daemon that manage netfilter on your RHEL system. It aims at creating a simple command-line interface to manage the firewall on your systems.

How to do it…

By default, firewalld is included in the "core" rpm group, but it may not be installed for some reason (that you left it out of your kickstart would be one!). Perform the following steps:

  1. Install firewalld via the following command line:
    ~]# yum install -y firewalld
    
  2. Now, enable firewalld through the following:
    ~]# systemctl enable firewalld
    
  3. Finally, ensure that firewalld is started by executing the following command line:
    ~]# systemctl restart firewalld
    

Showing the currently allowed services and ports on your system

List all ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CentOS 7 Server Deployment Cookbook

CentOS 7 Server Deployment Cookbook

Timothy Boronczyk

Publisher Resources

ISBN: 9781784392017