La infraestructura se organiza en torno a dos redes Docker principales siguiendo el modelo Zero Trust:
proxy-network - Red p煤blica para servicios expuestos via Nginx Proxy Manager
backend-net - Red privada interna para bases de datos y comunicaci贸n entre servicios
graph TD
subgraph Internet
User((Usuario))
end
subgraph "Docker Host (SRV-DOCKER)"
npm[Nginx Proxy Manager]
subgraph "Red: proxy-network"
nb_web[NetBox Web]
zab_web[Zabbix Web]
guac_web[Guacamole Web]
bk_web[Backup Web]
wg_ui[WireGuard UI]
fin_web[Finance Web]
wiki[Wiki.js]
end
subgraph "Red: backend-net (Interna)"
nb_db[(NetBox Postgres)]
nb_redis[(NetBox Redis)]
zab_db[(Zabbix MySQL)]
fin_back[Finance Backend]
end
subgraph "Red: Default/Bridge"
wg[WireGuard VPN]
rd[RustDesk]
loki[Loki Logs]
end
end
User -->|80/443 TCP| npm
User -->|51820 UDP| wg
User -->|21115-19 TCP| rd
User -->|2121 TCP| bk_web
npm --> nb_web
npm --> zab_web
npm --> guac_web
npm --> bk_web
npm --> wg_ui
npm --> fin_web
npm --> wiki
nb_web --> nb_db
nb_web --> nb_redis
guac_web --> nb_db
zab_web --> zab_db
fin_web --> fin_back
| Red |
Tipo |
Prop贸sito |
Contenedores Conectados |
proxy-network |
External |
Servicios web p煤blicos |
NPM, NetBox, Zabbix Web, Wiki.js, etc. |
backend-net |
External |
Bases de datos internas |
PostgreSQL, MySQL, Redis |
zabbix_zabbix-net |
Bridge |
Comunicaci贸n Zabbix interna |
zabbix-server, zabbix-web, mysql |
remote-mgmt_guac-backend-net |
Bridge |
Aislamiento Guacamole |
guacd, guacamole-web |
| Puerto |
Protocolo |
Servicio |
Notas |
| 80 |
TCP |
Nginx Proxy Manager |
Redirige a 443 |
| 443 |
TCP |
Nginx Proxy Manager |
Entrada principal HTTPS |
| 51820 |
UDP |
WireGuard |
VPN |
| 10051 |
TCP |
Zabbix Server |
Recibe datos de agentes |
| 2121 |
TCP |
FTP Backups |
Recepci贸n de backups MikroTik |
| 21115-21119 |
TCP |
RustDesk |
Soporte remoto P2P |
- Sin puertos web expuestos directamente - Todo pasa por NPM
- Bases de datos aisladas - Solo accesibles desde
backend-net
- SSL/TLS obligatorio - Certificados Let's Encrypt autom谩ticos
- Segregaci贸n de redes - Cada stack en su propia subred