Search icon CANCEL
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
Mastering Defensive Security

You're reading from   Mastering Defensive Security Effective techniques to secure your Windows, Linux, IoT, and cloud infrastructure

Arrow left icon
Product type Paperback
Published in Jan 2022
Publisher Packt
ISBN-13 9781800208162
Length 528 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Cesar Bravo Cesar Bravo
Author Profile Icon Cesar Bravo
Cesar Bravo
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Section 1: Mastering Defensive Security Concepts
2. Chapter 1: A Refresher on Defensive Security Concepts FREE CHAPTER 3. Chapter 2: Managing Threats, Vulnerabilities, and Risks 4. Chapter 3: Comprehending Policies, Procedures, Compliance, and Audits 5. Chapter 4: Patching Layer 8 6. Chapter 5: Cybersecurity Technologies and Tools 7. Section 2: Applying Defensive Security
8. Chapter 6: Securing Windows Infrastructures 9. Chapter 7: Hardening a Unix Server 10. Chapter 8: Enhancing Your Network Defensive Skills 11. Chapter 9: Deep Diving into Physical Security 12. Chapter 10: Applying IoT Security 13. Chapter 11: Secure Development and Deployment on the Cloud 14. Chapter 12: Mastering Web App Security 15. Section 3: Deep Dive into Defensive Security
16. Chapter 13: Vulnerability Assessment Tools 17. Chapter 14: Malware Analysis 18. Chapter 15: Leveraging Pentesting for Defensive Security 19. Chapter 16: Practicing Forensics 20. Chapter 17: Achieving Automation of Security Tools 21. Chapter 18: The Master's Compilation of Useful Resources 22. Other Books You May Enjoy

Configuring host-based firewalls

We are all familiar with firewalls as devices to regulate incoming and outgoing network traffic to prevent the entry of malicious code or attacks and to prevent the exfiltration of data.

Host-based firewalls are firewall rules that can be activated at the OS level so that you can apply incoming and outgoing network traffic protection for your system.

One feature of host-based firewalls is that they are configured per system, offering a higher level of flexibility when needed.

There are several host-based firewalls for Unix systems, such as iptables, firewalld, netfilter, ipfw, and more.

Understanding iptables

iptables is used to set up, maintain, and review the tables of the IPv4 and IPv6 packet filter rules in the Linux kernel.

To understand iptables, we need to first understand its components.

Chains

Chains are the set of rules defined for a particular task.

iptables uses three sets of rules (chains) to manage traffic:...

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 €18.99/month. Cancel anytime