Fedora 28 ships with Firewalld pre-installed.
The firewall is active and running by default.
Learn how to use it : Fedora WIKI Firewalld
Here are the commands to verify the status :
$ sudo dnf list installed | grep firewalld
firewalld.noarch 0.5.3-2.fc28 @updates
firewalld-filesystem.noarch 0.5.3-2.fc28 @updates
$ sudo firewall-cmd --state
running
$ sudo systemctl status firewalld
โ firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled;
vendor preset: enabled)
Active: active (running) since Tue 2018-09-11 12:05:25 CEST; 2h 40min ago
Docs: man:firewalld(1)
Main PID: 755 (firewalld)
Tasks: 2 (limit: 4915)
Memory: 39.7M
CGroup: /system.slice/firewalld.service
โโ755 /usr/bin/python3 -Es /usr/sbin/firewalld --nofork --nopid
If you want to configure the firewall via GUI :
sudo dnf install firewall-config
You can check what's installed and available :
$ sudo dnf list firewall*
Last metadata expiration check: 1:34:17 ago on Di 11 Sep 2018 12:16:19 CEST.
Installed Packages
firewall-config.noarch 0.5.3-2.fc28 @updates
firewalld.noarch 0.5.3-2.fc28 @updates
firewalld-filesystem.noarch 0.5.3-2.fc28 @updates
Available Packages
firewall-applet.noarch 0.5.3-2.fc28 updates
@Abdul , you can more deep in the following pages -> documentation, quick-docs