Lesson 6 / 8
Module 3Lesson 2⏱ 45 min study

Lesson 6: Network Hardening: Router Configuration, Firewalls & VPN Tunnels

Secure home and office gateways: change default firmware credentials, isolate IoT devices onto guest VLANs, configure firewalls, and deploy encrypted WireGuard/OpenVPN tunnels.

✦ Key Architectural Takeaways
  • •The home router acts as the default gateway, NAT router, DHCP server, and primary perimeter firewall for all connected devices.
  • •Changing factory default administrative passwords and disabling remote management prevents automated internet botnet takeover.
  • •Network segmentation separates vulnerable smart home IoT devices (cameras, smart TVs, bulbs) from workstations and storage drives.
  • •Stateful Packet Inspection (SPI) firewalls track active connection states, automatically dropping unsolicited incoming traffic from the internet.
  • •Virtual Private Networks (VPNs) create an encrypted point-to-point tunnel between your device and a secure gateway, masking your IP address.

1. Hardening the Gateway Router

Your home router is the first and most critical hardware defense perimeter:

TEXTSYSTEM SCHEMATIC
+-------------------------------------------------------------+
|              Critical Router Hardening Checklist            |
+-------------------------------------------------------------+
| 1. Change Default Admin Password (admin / admin is deadly!) |
| 2. Disable Remote Management (Blocks access from WAN side)  |
| 3. Disable WPS (Wi-Fi Protected Setup PIN is brute-forceable)|
| 4. Update Router Firmware to patch known gateway exploits   |
| 5. Enable WPA3 or WPA2-AES (Disable TKIP and WEP completely)|
+-------------------------------------------------------------+
§

2. Network Segmentation: The IoT Isolation Architecture

Smart home IoT devices (cheap IP cameras, smart lightbulbs, robot vacuums) are notoriously insecure and rarely receive firmware patches:

TEXTSYSTEM SCHEMATIC
Vulnerable Flat Network (Dangerous):
[ Compromised Smart Lightbulb ] <--- Flat Subnet ---> [ Your Laptop with Financial Files ]
(An attacker compromising the bulb can pivot directly to your laptop!)

Segmented Network Architecture (Secure):
                    [ Router / Gateway ]
                             |
             +---------------+---------------+
             |                               |
             v [ Main Wi-Fi / VLAN 10 ]      v [ Guest Network / VLAN 20 ]
     [ Laptops & Workstations ]      [ Smart TVs, Bulbs, Cameras ]
     [ Personal Smartphones ]        (Has internet access, but is
     (High Trust, Private Shares)     BLOCKED from seeing Main VLAN!)
§

3. VPN Tunnels: WireGuard vs. OpenVPN

A Virtual Private Network (VPN) wraps your network packets inside an encrypted outer packet:

TEXTSYSTEM SCHEMATIC
[ Client Device ]
      |
      v Encrypts packet: [ Inner Packet (Destination: Bank.com) ]
[ Encrypted VPN Tunnel ] ==========================> [ VPN Server Gateway ]
(ISP sees ONLY scrambled traffic to VPN IP)                  |
                                                             v Decrypts and forwards
                                                   [ Final Destination: Bank.com ]
FeatureModern Standard: WireGuardLegacy Standard: OpenVPN
Codebase Size~4,000 Lines (Easy to audit for bugs)~100,000+ Lines (Complex legacy code)
Cryptographic EngineModern primitives: ChaCha20, Poly1305, Curve25519OpenSSL library suite (AES, RSA, SHA)
Connection SpeedInstant roaming; near-zero latency overhead3-8 seconds handshake latency