Network & Firewall Security
Network security controls prevent unauthorized access from the network and restrict outbound connections to trusted destinations.
Windows Defender Firewall
Verify firewall is enabled
- Settings → Update & Security → Windows Security → Firewall & network protection
- Confirm all three are enabled:
- Domain network
- Private network
- Public network
- All should show Active with green checkmarks
Understand firewall modes
Domain Network (Connected at work):
- Most restrictive
- Appropriate when on corporate network
- IT policies override local settings
Private Network (Home/trusted):
- Balanced — blocks inbound by default, allows local browsing
- Appropriate for home WiFi
Public Network (Coffee shop/airport):
- Most restrictive — blocks most inbound connections
- Use when on untrusted networks
Inbound/Outbound rules
Firewall operates in two directions:
Inbound (blocking by default):
- Prevents external systems from initiating connections
- Applications request exceptions (e.g., gaming, file sharing)
- Safer approach — deny by default
Outbound (allowing by default):
- Most traffic is allowed to leave your system
- Can be restricted to trusted destinations (advanced)
Advanced Firewall Settings
Access Windows Defender Firewall with Advanced Security:
Start → Windows Defender Firewall with Advanced Security
(or: wf.msc)
Inbound rules
- Scope: Shows source IP/network
- Action: Allow, Block, or Allow if secure
- Profile: Domain, Private, Public
Review installed application rules — disable unused ones:
- Select Inbound Rules
- Right-click suspicious or old applications
- Click Disable (don't delete initially)
Outbound rules (advanced)
To restrict outbound to trusted destinations:
- Select Outbound Rules
- Click New Rule → Port
- Protocol: TCP/UDP, Port: 443 (HTTPS), 80 (HTTP)
- Action: Allow
- Repeat for other necessary ports (mail, DNS, etc.)
- Create final rule: All → Block (catch-all)
Warning: This requires careful planning; can break legitimate apps.
Network segmentation
Disable file sharing when not needed
- Settings → Network & Internet → Advanced network settings → Advanced sharing options
- Under Private (current network):
- Turn off Network discovery
- Turn off File and printer sharing
- Confirm applies to All networks
HomeGroup (Windows 10 1903+)
HomeGroup was deprecated; disable if still present:
Control Panel → HomeGroup → Leave
WiFi security
Connect to WPA3 or WPA2
When available, use modern encryption:
- WPA3 — latest, best security
- WPA2 — acceptable current standard
- WEP — obsolete, don't use
WiFi settings
- Settings → Network & Internet → WiFi
- Click Manage known networks
- For each network:
- Set Metered connection: OFF (if unlimited)
- Ensure Auto-connect: ON (convenience vs. choosing each time)
- Set Hidden network: OFF (less secure)
Guest WiFi
If router supports guest network:
- Create separate guest network for visitors
- Use different password than main network
- Isolate from main system devices
DNS security (advanced)
DNS queries currently unencrypted — can be monitored. Modern DNS security options:
DNS-over-HTTPS (DoH)
-
Settings → Network & Internet → DNS server assignment
-
Select Automatic (DHCP) or switch to:
- Cloudflare: 1.1.1.1
- Quad9: 9.9.9.9
- Google: 8.8.8.8
-
Enable Encrypted DNS queries
Pi-hole / local DNS (advanced)
Running local DNS filter on your network. See Network Filtering for details.
VPN considerations
VPNs encrypt network traffic but don't address other security issues:
- Only use VPNs for untrusted networks (public WiFi)
- Choose reputable providers (avoid free VPNs)
- Don't use VPN to bypass malware protection
- VPN is NOT a substitute for antivirus/firewall