Newer
Older
gnexus-book / 10-systems / traffic-routes / public-gnexus-space-to-internal-nginx.md

owner: gmikcon status: active last_reviewed: 2026-10-04 review_interval: 90d confidence: high

source_of_truth: owner-confirmed-and-live-verified

Public gnexus.space Traffic To Internal nginx

This route describes the main public traffic path into the local infrastructure.

Route

Internet
  -> gnexus.space
  -> external VPS
  -> external OpenVPN server
  -> OpenVPN tunnel
  -> internal OpenVPN client
  -> internal proxy VPS
  -> internal nginx reverse proxy
  -> target VPS or internal machine
  -> target service

Exposure

  • Exposure: public.
  • Public-facing entry: external-vps.
  • Internal routing: OpenVPN tunnel to internal-proxy-vps.
  • Proxy layer: internal-nginx-proxy.
  • Main public web ports: 80, 443.

Purpose

The route lets public traffic terminate on an external VPS and then pass into selected internal services through a VPN tunnel. The internal nginx proxy decides which target VPS or machine receives the request.

Known Public Domains

  • git.gnexus.space
  • hpanel.gnexus.space
  • jellyfin.gnexus.space
  • lytvak.gnexus.space
  • minecraft.gnexus.space
  • auth.gnexus.space
  • cloud.gnexus.space
  • files.gnexus.space
  • gnexus.space
  • navi.gnexus.space
  • synapse.gnexus.space
  • transmission.gnexus.space

Known Hosts

  • External VPS: external-vps, s-host.com.ua, Ukraine, Ubuntu Server 22.04.
  • Internal proxy VPS: internal-proxy-vps, VM ovpn_reserv, LAN address 192.168.1.226, libvirt address 192.168.105.181/24.

Confirmed Enabled Proxy Targets

Domain Upstream
auth.gnexus.space http://192.168.1.167
cloud.gnexus.space http://192.168.1.152
files.gnexus.space http://192.168.1.157
git.gnexus.space http://192.168.1.156
gnexus.space http://192.168.1.151
hpanel.gnexus.space http://192.168.1.176:8000
jellyfin.gnexus.space http://192.168.1.153:8096
navi.gnexus.space http://192.168.1.168:8000
synapse.gnexus.space http://192.168.1.172:8013
transmission.gnexus.space http://192.168.1.154:3000

Available But Not Confirmed Enabled

These nginx site files exist on internal-proxy-vps, but they were not listed as enabled symlinks during the last check:

  • lytvak.gnexus.space -> http://192.168.1.167
  • minecraft.gnexus.space -> tcp://192.168.1.218:25565

Verification Notes

  • 2026-10-04 (navi rei): the external VPS catch-all forwards unknown *.gnexus.space subdomains to the internal proxy — verified by fetching a probe file from the default site of .226 through http://synapse.gnexus.space. HTTP-01 challenges therefore reach certbot on .226 (LE certificate issued for synapse.gnexus.space the same day). nginx site configs live in /etc/nginx/sites-available/ on internal-proxy-vps (root access required).
  • 2026-10-04 (navi rei): added hpanel.gnexus.space → http://192.168.1.176:8000 (GHard Monitor panel). nginx site on internal-proxy-vps: port 80 → 301 to https, port 443 → TLS proxy with Host/X-Real-IP/X-Forwarded-For/X-Forwarded-Proto, proxy_buffering off, proxy_read_timeout 300s, proxy_http_version 1.1. LE certificate issued via certbot --nginx (valid until 2027-01-02). The /mcp location is blocked at the proxy (403): the panel has no auth yet (GHARDAUTH* unset, admin token empty), so the MCP endpoint must not be public. Verified externally: DNS → 51.83.131.93, health {"status":"ok"}, UI 200 over HTTP/2, HTTP→HTTPS 301.

Unknowns

  • OpenVPN public port.
  • SSH forwarding details to the internal alex VPS.