$65 book with code
Deployment from Scratch book cover

Firewalls

When we run network services on our systems, they are automatically exposed to their networks. If that network is the public Internet, our services are essentially exposed to everyone. Often, this is not what we want. We want visitors worldwide to visit our web server, but we don't want them to connect to our database directly.Firewalls control incoming and outgoing traffic on our server and help us gain a finer control over what services we make available. On Fedora-based systems, we can use two different firewalls. iptables is an older and well-known system that configures Linux kernel firewall tables. firewalld is its successor that allows configuration without service restarts.

Table of Contents

firewalld

Installation
Overseeing firewalld
Changing firewalld Rules
Creating Custom Zones
Defining Services
Rich Rules
ICMP

Scanning ports with nmap

fail2ban

Service Provider Firewalls

Summary

Buy now
Book with code for $65 + local tax