firewalld Zones and Least-Privilege Access

One approved client may reach the app on server1; a second server on the same network may not. Write the narrowest firewalld rule that says so, make it permanent, and prove it from both sides.

Skill labintermediate~35 minPro

What you'll do

  • ✓Read active zones, interface bindings and runtime versus permanent configuration
  • ✓Write a source-scoped rich rule instead of opening a port to everyone
  • ✓Test from the approved peer and from the unauthorised one
  • ✓Persist the rule and prove it survives a reload

Lab outline

  1. 01The rule
  2. 02Both sides
  3. 03Persist

Before you start

  • Persistent NetworkManager Configuration
  • DNS Client Resolution and Lookup Troubleshooting

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Linux System Administration labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

firewalld Zones and Least-Privilege Access — Linux lab | Kube Labs