Back to Projects
Case StudyInfrastructure & Networking

Network Access & Traffic Redirection

Configurable DNS, VPN routes, firewall rules, and gateway policies for public web services and private network access.

System Architecture
CoreDNS
Resolves service hostnames
OpenVPN
Routes private connections

Web request path

  1. Firewall Filters traffic
  2. Nginx gateway Applies access rules
  3. Backend Serves the request

Configuration by Component

  • Access gateway

    YAML defines the backend, hostname and certificate groups, and source-address rules. Each group can redirect HTTP to HTTPS or proxy both protocols.

  • VPN

    The VPN can push DNS settings and private routes to clients. Route targets come from the local policy configuration.

  • DNS

    Hostname definitions can point to a default gateway, a fixed address, or a Docker container on a named network. The tools generate CoreDNS records from those definitions.

  • Firewall

    The firewall configuration defines public ports and VPN-only rules. VPN rules can narrow access by protocol, port, source, and destination.

Gateway Validation

On startup and reload, the gateway checks the configured certificate pairs and tests the generated Nginx configuration before applying it.

Planning a Network Access Project?

Get in touch to discuss service access, routing, and network boundaries.