Overview

This guide provides step-by-step instructions to secure a small business network with:

  • A single LAN
  • Ubiquiti UniFi Ultra as the gateway
  • No port forwarding or open inbound ports

Threat vectors addressed include phishing, lateral movement, internal misconfiguration, and remote exploitation.

πŸ”§ 1. Edge Router & Firewall: Lock Down the Gateway

βœ… UniFi Ultra Firewall Rules

  • Deny by default all inbound WAN traffic
  • Allow only established/related connections
  • Explicitly drop all other WAN IN traffic
Rule 1: Accept ESTABLISHED,RELATED β†’ WAN IN
Rule 2: Drop All β†’ WAN IN

WAN LOCAL (UI & service protection):

Rule 1: Allow DNS, DHCP (if hosted here)
Rule 2: Drop All β†’ WAN LOCAL

Additional Router Hardening:

  • ❌ Disable UPnP
  • ❌ Disable IPv6 (unless used securely)
  • βœ… Disable UniFi Cloud Access (or restrict to admin IPs)
  • βœ… Restrict GUI management access to VLAN 10 (trusted)

🧱 2. LAN Segmentation (Minimal VLAN Strategy)

VLAN Purpose Devices
10 Trusted LAN Admin PCs, Servers
20 IoTβ€Š/β€ŠUntrusted Smart TVs, IP Cams, Printers
30 Guest or BYOD Visitors, Staff Personal Devices

VLAN Rules:

  • 🚫 Block inter-VLAN by default
  • βœ… Allow VLAN 10 β†’ VLAN 20/30 (if needed)
  • ❌ VLAN 20/30 should not access VLAN 10

πŸ§‘β€πŸ’» 3. Endpoint Hardening

Workstations:

  • βœ… OS auto-updates
  • βœ… EDR/AV (e.g. Defender with ASR or CrowdStrike)
  • ❌ No RDP unless secured internally
  • πŸ‘€ Daily users: non-admin accounts

Servers:

  • πŸ”₯ Local firewall enabled
  • 🧱 Block all except trusted LAN IPs
  • πŸ”„ Scheduled, off-site backups
  • ❌ Disable unused remote protocols (e.g. WinRM, RDP)

πŸ”’ 4. DNS & Outbound Filtering

DNS-Level Defence:

Use one of:

Features:

  • 🚫 Malware & phishing domain block
  • πŸ“Š DNS logging and analytics

Outbound Rules (LAN β†’ WAN):

  • ❌ Block:
  • TCP 445 (SMB)
  • TCP 3389 (RDP)
  • FTP, Telnet
  • πŸ” Optional: whitelist-only outbound for VLAN 20

πŸ” 5. Authentication & Monitoring

  • πŸ” Enable MFA on all admin accounts
  • πŸ“‰ Enable UniFi Threat Management (IDS/IPS: Balanced mode)
  • πŸ“œ Log to Syslog or external collector
  • πŸ‘₯ Disable unused users, rotate passwords periodically

πŸ”„ 6. Backup & Recovery

  • 🧊 Immutable, versioned backups (on NAS, PBS, or cloud)
  • πŸ“ Backup:
  • Router config
  • Servers & domain controller
  • Business data
  • πŸ§ͺ Test restores quarterly

🚫 7. Remote Access (Optional)

If required:

  • βœ… Use Tailscale or WireGuard
  • ❌ Do not expose RDP, UniFi GUI, NAS, or printers
  • πŸ” Device approval and 2FA for VPN accounts

πŸ§ͺ 8. Security Audit Checklist

Item Frequency Status
OS & firmware patched Weekly ☐
Open ports scan (nmap) Monthly ☐
IDS/IPS alerts reviewed Weekly ☐
Endpoint AV/EDR status Weekly ☐
Backups tested Quarterly ☐
VLAN rules audited Quarterly ☐

Tip: For central visibility, consider using a self-hosted Grafana + Loki + Promtail or Graylog stack to aggregate firewall, system, and DNS logs.

National Cyber Security Centre certificates

August 2, 2025


Previous post
Attack vectors. πŸ“¨ 1. Phishing Emails [factual] 🌍 2. Compromised Websites [factual] πŸ”“ 3. Remote Desktop Protocol (RDP) Attacks [factual] πŸ§‘β€πŸ’» 4. Software
Next post
πŸ” Ransomware Resilience Comparison: Dropbox vs OneDrive vs Google Drive vs Local NAS Feature / Platform Dropbox OneDrive Google Drive Local NAS Version History βœ… 30–180 days depending on plan βœ… 30 days (Personal), 93+ days