Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Host Firewall (CCNA)

Direct answer

A host firewall filters traffic on the endpoint itself (Windows Defender Firewall, nftables), protecting it even from other hosts in the same VLAN.

When to use this

Use it when an endpoint blocks or allows traffic regardless of the network policy.

First 30 seconds

1. A host firewall filters traffic on the endpoint.

2. Default deny inbound.

3. Centrally managed (GPO/MDM).

4. Logs for investigation.

5. Complements network controls.

Operational verification

traffic → host firewall rules → allow/deny

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Key commandGet-NetFirewallProfile | Select Name,Enabled,DefaultInboundAction
Scope / prerequisiteUse it when an endpoint blocks or allows traffic regardless of the network policy.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Host firewall disabled to fix an application instead of adding a rule.
  • Different rules on the same server role because they were set by hand.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • NGFW policy can combine identity, application, URL/content, state and threat intelligence
  • IPS inspects exploit/signature/behavior evidence and may detect or prevent
  • Endpoint posture, anti-malware, host firewall and EDR cover activity beyond the network boundary
  • Encrypted traffic, bypass rules and telemetry gaps create blind spots.
Key checks
  • Get-NetFirewallProfile — Windows firewall
  • ufw status / nft list ruleset — Linux firewall
ReferenceWhat it is1 section · depth on demand

What it is

Layered threat defense combines segmentation and access control with stateful/application inspection, IPS, malware protection and endpoint posture/EDR/host controls.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Host firewalls

A host-based firewall runs on the protected computer and controls its own inbound and outbound traffic. NIST SP 800-41 Rev. 1 recommends configuring host firewalls to allow only necessary traffic, which protects against attacks from other hosts on the same subnet that network firewalls may not see, and notes that limiting outbound traffic helps stop malware spreading.

Recommendations (SP 800-41 Rev. 1)

RecommendationReason
Allow only necessary trafficSmallest exposure per host
Restrict outbound trafficLimits malware spread
Enable loggingEvidence and troubleshooting
Central managementConsistent policy across many hosts
Location-based profilesStricter rules on untrusted networks
Keep UPnP disabledPrevents applications from changing firewall policy

Examples

PS> Get-NetFirewallProfile | Select-Object Name, Enabled, DefaultInboundAction, DefaultOutboundAction
Name    Enabled DefaultInboundAction DefaultOutboundAction
----    ------- -------------------- ---------------------
Domain     True                Block                 Allow
Private    True                Block                 Allow
Public     True                Block                 Allow
PS> New-NetFirewallRule -DisplayName "Block SMB from users" -Direction Inbound -Protocol TCP -LocalPort 445 -RemoteAddress 10.110.0.0/16 -Action Block
host$ sudo nft list ruleset | head -8
table inet filter {
	chain input {
		type filter hook input priority filter; policy drop;
		ct state established,related accept
		iifname "lo" accept
		tcp dport 22 ip saddr 10.99.0.0/24 accept
	}
}

Host firewalls and network firewalls together

Network firewallHost firewall
Between zonesWithin a zone, even within a subnet
Central policy pointPolicy travels with laptops
Sees traffic crossing itSees every connection to the host

Common uses

Block workstation-to-workstation SMB and RDP (lateral movement), restrict server management ports to admin networks, and keep strict profiles for laptops on public Wi-Fi.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

Host firewalls (Windows Defender Firewall, nftables/firewalld, macOS Application Firewall) filter traffic at the endpoint, protecting against lateral movement even inside a trusted VLAN.

Baseline: default deny inbound, allow only required services from defined sources, block SMB/RDP between workstations, log drops centrally. Manage rules through GPO/Intune/config management so they are consistent and auditable.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Configuration examples

# Windows
Get-NetFirewallProfile | Select Name,Enabled,DefaultInboundAction
New-NetFirewallRule -DisplayName "Allow RDP from admin net" -Direction Inbound -Protocol TCP -LocalPort 3389 -RemoteAddress 10.99.0.0/24 -Action Allow
# Linux (nftables)
nft add rule inet filter input ip saddr 10.99.0.0/24 tcp dport 22 accept

Documented example, not captured output. Default deny inbound, manage rules centrally (GPO/Intune), and block workstation-to-workstation traffic to stop lateral movement.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Security → Endpoint Security → Host Firewall. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Confirmation

Confirm action

Continue?