DMZ Network Design and Implementation

Purpose

This page documents the design and implementation of a DMZ (Demilitarized Zone) used to isolate public-facing services from the internal LAN. The DMZ hosts an NGINX reverse proxy running as a VM on Proxmox, while backend services remain protected on the internal network.

The design prioritizes:


Environment Summary

Component Description
Router / Firewall TP-Link Omada Router
Switching Omada-managed switches
Virtualization Proxmox VE
Reverse Proxy NGINX (VM)
Backend Services Proxmox VMs
LAN Subnet 192.168.2.0/24
DMZ Subnet 192.168.10.0/24

DHCP and firewalling are handled by the Omada router.


High-Level Architecture

Logical Network Layout

                          Internet
                              |
                              |
                     +------------------+
                     |   Omada Router   |
                     |  Firewall + DHCP |
                     +------------------+
                              |           
                              |          
                 VLAN 10 (DMZ)|
               192.168.10.0/24|
                              |
                              | 
                      +----------------+ 
                      |  NGINX Reverse |
                      |     Proxy VM   |
                      |  192.168.10.10 |
                      +----------------+ 
                              |
          Explicitly allowed  | 
          DMZ β†’ LAN traffic   | 
                              v 
                      +----------------+
                      |  Backend VM A  |
                      | 192.168.20.211 |
                      | HTTPS / 443    |
                      +----------------+

Traffic Policy Summary


Design Principles


VLAN & IP Design

Network VLAN Subnet Gateway
VLAN1 1 192.168.2.0/24 192.168.2.1
VLAN20 20 192.168.20.0/24 192.168.20.1
VLAN30 30 192.168.30.0/24 192.168.30.1
VLAN40 40 192.168.40.0/24 192.168.40.1
VLAN50 50 192.168.50.0/24 192.168.50.1
DMZ 10 192.168.10.0/24 192.168.10.1

Omada Switch Configuration

This ensures VLAN tagging is preserved from the switch through Proxmox to each VM.


Proxmox Network Configuration

A single VLAN-aware bridge is used:


vmbr0
└── Physical NIC (eno1)
└── VLAN aware: Yes

VM VLAN Assignment

VM Type VLAN NIC Count
NGINX Reverse Proxy 10 (DMZ) 1
Backend Services 20 (LAN) 1

VMs must not be dual-homed across LAN and DMZ.


Proxmox Placement Diagram

                Omada Switch (Trunk Port)
 VLAN50 (Physical Control Plane) | VLAN 10 (DMZ)
                                 |
                        +----------------+
                        | Proxmox Host   |
                        | vmbr0 (VLAN50) |
                        +----------------+
                          |            |
                  VLAN 20 |            | VLAN 10
                          |            |
              Backend Service VMs   NGINX Proxy VM

Reverse Proxy (NGINX) Role

Network Characteristics

Responsibilities

Required Proxy Headers

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

Firewall Policy (Omada Router)

WAN β†’ DMZ

Allow

Deny


DMZ β†’ LAN

Default: Deny all

Explicit Allow Rules (examples):

Source Destination Port Protocol
192.168.10.10 192.168.2.20 443 TCP
192.168.10.10 192.168.2.30 8080 TCP

Rules must be narrowly scoped and service-specific.


LAN β†’ DMZ

Allow


NAT / Port Forwarding

WAN β†’ DMZ

WAN Port Protocol DMZ IP DMZ Port
80 TCP 192.168.10.10 80
443 TCP 192.168.10.10 443

No port forwarding to LAN networks is permitted.


Security Hardening

Router / Network

NGINX VM

Proxmox


Risk Containment


Implementation Notes