Rework Hub & Spoke Example #51

Closed
opened 2026-07-22 12:10:02 +00:00 by mauritz.uphoff · 4 comments

The Hub & Spoke example (https://professional-service.git.onstackit.cloud/professional-service-best-practices/professional-service/src/branch/main/examples/opnsense-hub-and-spoke) needs to be reworked.

Changes required:

Documentation:

  • Create documentation covering the initial OPNsense setup, including interface configuration and Management UI setup.
  • Ideally, also provide Ansible automation for the OPNsense setup, optionally including Squid proxy configuration (for host whitelisting) and basic firewall rules.
  • Document that OPNsense HA mode is currently not supported due to platform restrictions, and that we are waiting for an L3 Load Balancer to enable a load balancer sandwich topology.
The Hub & Spoke example (https://professional-service.git.onstackit.cloud/professional-service-best-practices/professional-service/src/branch/main/examples/opnsense-hub-and-spoke) needs to be reworked. Changes required: - Remove the static route defined at https://professional-service.git.onstackit.cloud/professional-service-best-practices/professional-service/src/commit/eaa194f54bed279c80684f814b7500481f9952d8/examples/opnsense-hub-and-spoke/001-hub-project/030-network.tf#L43 this is not needed in the current design. - Remove the route defined at https://professional-service.git.onstackit.cloud/professional-service-best-practices/professional-service/src/commit/eaa194f54bed279c80684f814b7500481f9952d8/examples/opnsense-hub-and-spoke/001-hub-project/030-network.tf#L29 as well, unless a VM is deployed into the Hub Firewall's LAN network. In this use case, routes are set at the spoke project level instead. Documentation: - Create documentation covering the initial OPNsense setup, including interface configuration and Management UI setup. - Ideally, also provide Ansible automation for the OPNsense setup, optionally including Squid proxy configuration (for host whitelisting) and basic firewall rules. - Document that OPNsense HA mode is currently not supported due to platform restrictions, and that we are waiting for an L3 Load Balancer to enable a load balancer sandwich topology.
sven.schmidt added the due date 2026-07-28 2026-07-22 12:20:29 +00:00
Owner

@sven.schmidt as discussed. The following issues needs to be addressed as well:

  • (docs) Documentation about setting up the Mgmt Interface
  • (fix) Currently there is no known way to pass Mgmt Access via Public IP to WebUI. (Public Client IP -> Public IP Mgmt NIC -> Mgmt IP) Outbound it routes via Default Route (WAN) -> No Connection possible
    • Temp fix: Set default route to Mgmt GW and navigate through WebUI
    • Tested several rule sets (e.g. rules[new] and rules) including setting a rule for 443 with Gateway or reply-to -> Both not working
    • Tested priority changes of gateways -> not working
@sven.schmidt as discussed. The following issues needs to be addressed as well: - (docs) Documentation about setting up the Mgmt Interface - (fix) Currently there is no known way to pass Mgmt Access via Public IP to WebUI. (Public Client IP -> Public IP Mgmt NIC -> Mgmt IP) Outbound it routes via Default Route (WAN) -> No Connection possible - Temp fix: Set default route to Mgmt GW and navigate through WebUI - Tested several rule sets (e.g. rules[new] and rules) including setting a rule for 443 with Gateway or reply-to -> Both not working - Tested priority changes of gateways -> not working
Owner

The issue described above was investigated and resolved in #52.

As part of this rework, the README should be updated to document the identified root cause and the validated configuration for public WebUI access through the dedicated MGMT interface, including the required return path via the MGMT gateway.

It also has to be evaluated whether this configuration can be standardized and deployed reproducibly through Ansible as part of the OPNsense IaC setup.

The issue described above was investigated and resolved in #52. As part of this rework, the README should be updated to document the identified root cause and the validated configuration for public WebUI access through the dedicated MGMT interface, including the required return path via the MGMT gateway. It also has to be evaluated whether this configuration can be standardized and deployed reproducibly through Ansible as part of the OPNsense IaC setup.
sven.schmidt modified the due date from 2026-07-28 to 2026-08-04 2026-07-28 10:57:17 +00:00
Owner

Moved the due date due to higher-priority topics

Moved the due date due to higher-priority topics
Owner

Resolved via #52: static routes removed from the hub and moved to the spoke level, all subnets switched to /24, firewall interfaces standardized (named, x.x.x.100), plus initial-setup/webui-access/limitations/mgmt-standardization docs added.

Resolved via #52: static routes removed from the hub and moved to the spoke level, all subnets switched to /24, firewall interfaces standardized (named, x.x.x.100), plus initial-setup/webui-access/limitations/mgmt-standardization docs added.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

2026-08-04

Dependencies

No dependencies set.

Reference
professional-service-best-practices/professional-service#51
No description provided.