Beginner to intermediate · Free · In your browser
Learn Firewall Foundations
Learn how a firewall reads a packet, then write precise rules, order them, group networks into zones, publish a server from a DMZ, translate addresses with source and destination NAT, and troubleshoot a policy from evidence. Every lesson shows the same idea on nftables, FortiGate and Huawei USG. Two projects end in a complete configuration for a small company. Rules run against test packets in a bounded in-memory model; no real firewall or network is contacted.
No installation. Your code runs right in the browser. Networking Foundations or the same knowledge: IP addresses, subnets, ports, and the difference between TCP and UDP. The rule format is a Code Temper teaching format, not the syntax of a product; the lessons show the nftables, FortiGate and Huawei USG equivalents, which you should confirm against the documentation of your version.
What you will be able to do
- Write precise allow and deny rules and order them deliberately
- Design a zone policy with a DMZ, containment, and protected management access
- Use source and destination NAT in the right order with the policy
- Troubleshoot blocked and over-permitted traffic from verdicts, logs and sessions
Course outline
How a firewall thinks
Read packets, write precise rules, order them, and follow the reply.
Rule sets you can maintain
Log what matters, remove dead rules, and replace rules that are too wide.
Zones and policies
Group networks into zones, publish a server from a DMZ, and protect the firewall itself.
Address translation
Hide private addresses, forward a public port, and order NAT and policy correctly.
Troubleshooting
Find why traffic is blocked, find what should not pass, and read sessions.
Put it together
Handle a change request, review an old rule set, and build a complete configuration.
Ready for your first line?
Every lesson is short, hands-on, and checked automatically.
Start learning Firewall Foundations →