Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Fedora 31 Essentials

You're reading from   Fedora 31 Essentials Learn how to install, administer, and deploy Fedora 31 systems

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher Packt
ISBN-13 9781800562790
Length 271 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Neil Smyth Neil Smyth
Author Profile Icon Neil Smyth
Neil Smyth
Arrow right icon
View More author details
Toc

Table of Contents (32) Chapters Close

1. Introduction 2. A Brief History of Linux FREE CHAPTER 3. Installing Fedora 31 on a Clean Disk Drive 4. Dual Booting Fedora 31 with Windows 5. Allocating Windows Disk Partitions to Fedora 31 6. A Guided Tour of the GNOME 3 Desktop 7. An Overview of the Fedora 31 Cockpit Web Interface 8. Using the Bash Shell on Fedora 31 9. Managing Fedora 31 Users and Groups 10. Understanding Fedora 31 Software Installation and Management 11. Configuring Fedora 31 systemd Units 12. Fedora 31 Network Management 13. Basic Fedora 31 Firewall Configuration with firewalld 14. Configuring SSH Key-based Authentication on Fedora 31 15. Fedora 31 Remote Desktop Access with VNC 16. Displaying Fedora 31 Applications Remotely (X11 Forwarding) 17. Using NFS to Share Fedora 31 Files with Remote Systems 18. Sharing Files between Fedora 31 and Windows Systems with Samba 19. An Overview of Virtualization Techniques 20. Installing KVM Virtualization on Fedora 31 21. Creating KVM Virtual Machines using Cockpit and virt-manager 22. Creating KVM Virtual Machines with virt-install and virsh 23. Creating a Fedora 31 KVM Networked Bridge Interface 24. Managing KVM using the virsh Command-Line Tool 25. An Introduction to Linux Containers 26. Working with Containers on Fedora 31 27. Setting Up a Fedora 31 Web Server 28. Configuring a Fedora 31 Postfix Email Server 29. Adding a New Disk Drive to a Fedora 31 System 30. Adding a New Disk to a Fedora 31 Volume Group and Logical Volume 31. Adding and Managing Fedora 31 Swap Space Index

13.3 Configuring Firewall Rules with firewall-cmd

The firewall-cmd command-line utility allows information about the firewalld configuration to be viewed and changes to be made to zones and rules from within a terminal window.

When making changes to the firewall settings, it is important to be aware of the concepts of runtime and permanent configurations. By default, any rule changes are considered to be runtime configuration changes. This means that while the changes will take effect immediately, they will be lost next time the system restarts or the firewalld service reloads, for example by issuing the following command:

# firewall-cmd --reload

To make a change permanent, the --permanent command-line option must be used. Permanent changes do not take effect until the firewalld service reloads but will remain in place until manually changed.

13.3.1 Identifying and Changing the Default Zone

To identify the default zone (in other words the zone to which all interfaces...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image