Skip to main content
NextcloudAIO
NextcloudAIO Partner Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral commission at zero extra cost (Partner Disclosure).
Stack Matrix Hub (11)

Hardening Nextcloud AIO Mastercontainer & Loopback Bindings

Lock AIO admin UI (:8080) to localhost SSH tunnels, bind Apache to 127.0.0.1:11000, and isolate Docker socket access.

127.0.0.1:8080 · UFW Deny 11000 · Rootless / Socket RO

Hardening Nextcloud AIO Mastercontainer & Loopback Bindings
Telemetry verified 2026-11-15 by TeamDrive Storage.

Never Expose Port 8080 or 11000 on Public Interfaces

The Nextcloud AIO mastercontainer mounts /var/run/docker.sock:ro to orchestrate sibling containers. Binding ports 8080 (AIO setup UI) and 11000 (Apache backend) strictly to 127.0.0.1 ensures zero direct internet exposure.

Administering AIO Over SSH Local Port Forwarding

Open the AIO management console only via ssh -L 8080:127.0.0.1:8080 user@server, while allowing public inbound traffic exclusively on TCP 80/443 (Caddy/NGINX) and TCP/UDP 3478 (Talk TURN).

Measured Thresholds & Configuration

Service PortBind InterfaceFirewall PolicyAccess Method
8080 (AIO Admin UI)127.0.0.1Block externallySSH tunnel (-L 8080)
11000 (Apache Backend)127.0.0.1Block externallyLocal Caddy/NGINX proxy
443 (HTTPS) / 3478 (Talk)0.0.0.0Allow publicTLS 1.3 + WebRTC TURN
127.0.0.1:8080 · UFW Deny 11000 · Rootless / Socket RO InterServer ($6/TB)UltaHost VDS ($37.50)