Host Firewall
Cheat sheet · https://pcornel.dk/topic.php?topic=4536
Answer
A host firewall filters network traffic on the device itself (Windows Defender Firewall, nftables/firewalld on Linux), using rules based on ports, addresses, programs and network profile. It protects the device even on untrusted networks and complements network firewalls.
Remember
- Host firewall enabled ≠ correct profile and rules active.
- Network firewall permit ≠ host firewall permit.
- Local port listening ≠ remotely reachable.
- Firewall allow ≠ application authorization.
First checks
Get-NetFirewallProfile | ft Name,Enabled,DefaultInboundAction— Windows firewallnft list ruleset— Linuxufw status verbose— Ubuntu
Verify in this order
packet → host firewall rules → allow/drop
Where it usually breaks
First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.
Endpoint Security → Host Firewall proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact endpoint identity, owner, role, platform, data, exposure and expected control | Does not prove policy receipt, effective state or runtime health |
| Effective control | Policy source/precedence, engine/sensor version, mode, exclusions, keys and local state | Configured or licensed capability does not prove enforcement |
| Runtime evidence | Correlated local events, backend telemetry, process/file/network context and safe tests | One alert, clean scan or healthy agent does not prove endpoint trust |
| Closure | Original protection/workload test passes; persistence, credentials, recovery and adjacent controls are verified | Block, isolation, deletion or ticket closure alone is not recovery |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4536