Series OPNsense® in Practice · Volume 2

Awaiting publication on Amazon Italian and English

OPNsense® in Practice — Volume 2: Firewall and NAT with OPNsense

A firewall that works is not yet a firewall you know how to manage. Volume 2 teaches you to decide what must pass and what must not: how OPNsense evaluates every packet, how to write precise and readable rules, how addresses are translated, and how to publish a service in a controlled way. Everything takes place in an essential physical lab, with one firewall, two LANs, and two PCs: no virtual machines and no service exposed to the Internet. Every test starts from a saved configuration and returns to a known state.

Book details

SeriesOPNsense® in Practice
Author梅志远 — Méi Zhìyuǎn
LanguagesItalian and English
PublicationAwaiting publication on Amazon

Topics

  • How OPNsense evaluates every packet and why rule order matters.
  • An explicit policy in place of the default rules.
  • Aliases for rules that are readable and easy to maintain.
  • Source NAT, port forwarding, and NAT reflection, with their limits.
  • Logs, counters, and states to verify and troubleshoot; IPv6 rules.

Who this book is for

The volume is addressed to:

  • readers who have already configured OPNsense and want to design rules, not just apply them
  • technicians and administrators of small networks looking for an orderly method for rules, aliases, and NAT
  • anyone who wants a practical, reproducible lab, even at home

It builds on the lab and the foundations of Volume 1.

Table of contents

  1. From Volume 1 to Volume 2: Starting Point and Lab
  2. How OPNsense Filters: State, Interfaces, Direction, Order, Actions
  3. The Rules Interface in the 26.7 Series
  4. Anatomy of a Rule
  5. Aliases
  6. Designing a Policy
  7. Rules for Common Scenarios
  8. NAT: Concepts and Source NAT
  9. Port Forwarding and NAT Reflection
  10. Logs and States: Understanding the Tools
  11. Verifying Rules: Designing and Running Simple Tests
  12. Troubleshooting: Finding and Fixing Problems
  13. Best Practices
  14. IPv6 in the Rules

Appendices: A. Glossary · B. Verification Commands and Test Tools · C. Lab Worksheets and Tables to Fill In

Other volumes in the series

OPNsense® is a registered trademark. Alba Technology does not represent the OPNsense project.