Reverse Proxy with OPNsense

Using Haproxy

Project Highlights

This OPNsense reverse proxy project documents HAProxy configuration inside OPNsense for publishing internal services through controlled HTTP and HTTPS frontends. It focuses on mapping real servers, building backend pools, defining public services, and using conditions and rules to route traffic to the correct internal application.

  • Configured HAProxy inside OPNsense for reverse proxy service publishing.
  • Defined real servers for internal services such as Proxmox and TrueNAS.
  • Created backend pools for routing traffic to the correct internal target.
  • Configured public HTTP and HTTPS services in the HAProxy virtual service section.
  • Built conditions and rule checks for host or service-based routing.
  • Documented the workflow with screenshots for real servers, backends, public services, conditions, and rules.

HaProxy with OPNsense

Screenshots of the configuration

Real Server

Real servers

No imagen

Configuration

No imagen

Backend

Backend screenshot on virtual service

No imagen

Configuration

No imagen

Public Service

public services screenshot on virtual service

No imagen

HTTPS

No imagen
No imagen

HTTP

No imagen

Conditions

Conditions on Rules & checks

No imagen

Configuration

No imagen

Rules

Rules on Rules & checks

No imagen

Configuration

No imagen