diff --git a/10-systems/hosts/minecraft-server.md b/10-systems/hosts/minecraft-server.md index f359347..4b0922d 100644 --- a/10-systems/hosts/minecraft-server.md +++ b/10-systems/hosts/minecraft-server.md @@ -1,7 +1,7 @@ --- owner: gmikcon status: active -last_reviewed: 2026-10-07 +last_reviewed: 2026-10-25 review_interval: 90d confidence: high source_of_truth: ssh-host-verified @@ -20,10 +20,16 @@ - World data: `/home/minecraft/server-vanilla/world`. MOTD: `GNexus Space`. - Server auto-pauses when empty for 60s (vanilla pause feature). +## Public access (verified 2026-10-25) + +- Public address: `minecraft.gnexus.space:25565` (DNS → 51.83.131.93, external VPS). End-to-end MC status ping OK: MOTD `A Minecraft Server`, version 26.2 (proto 776), max players 40. +- Path: external VPS → OpenVPN tunnel (client: ovpn VM 192.168.1.150, tun0 10.8.0.2) → nft DNAT on ovpn VM (tun0 tcp 80/443/25565 → 192.168.1.183, SNAT to 192.168.1.150) → nginx stream on internal-proxy-vps (`/etc/nginx/stream-conf.d/minecraft.gnexus.space.conf`, listen 25565 → 192.168.1.160:25565). +- Redundant legacy forwarder on the ovpn VM: `minecraft-tcp-forward.service` (socat, listen 25565 → 192.168.68.218:25565 — mine's second NIC in a libvirt network). It receives no tun0 traffic (PREROUTING DNAT intercepts first) and is harmless; safe to disable if desired (owner decision). + ## History / observations +- 2026-10-25 (navi rei): public access verified end-to-end (MC status ping via domain and via 51.83.131.93, plus TCP connect from 3 external check-host.net nodes). No config changes were needed — the earlier "dead mapping" note was stale: the live nginx stream config already pointed at 192.168.1.160. - 2026-10-07: stopped by navi rei on owner request (no players online; last player l3iniv4kur4 left 14:59 UTC). Unit left inactive, world saved via graceful stop. - Old Forge modded server directory `/home/minecraft/server` exists with stale logs (Jul 2025) — not the running instance. -- Proxy mapping `minecraft.gnexus.space` -> `tcp://192.168.1.218:25565` (internal-proxy-vps) is DEAD: 192.168.1.218 unreachable. The live server is on 192.168.1.160 and has no public proxy mapping. No raw credentials are documented here. diff --git a/90-maintenance/pending-changes/20261025143948-1454c089.json b/90-maintenance/pending-changes/20261025143948-1454c089.json new file mode 100644 index 0000000..1d54594 --- /dev/null +++ b/90-maintenance/pending-changes/20261025143948-1454c089.json @@ -0,0 +1,19 @@ +{ + "id": "20261025143948-1454c089", + "kind": "doc", + "target": "10-systems/hosts/minecraft-server.md", + "summary": "Public access verified working; stale dead-mapping note corrected", + "reason": "Live verification 2026-10-25: public access via minecraft.gnexus.space:25565 works; previous \"no public proxy mapping\" note was stale.", + "payload": { + "content": "---\nowner: gmikcon\nstatus: active\nlast_reviewed: 2026-10-25\nreview_interval: 90d\nconfidence: high\nsource_of_truth: ssh-host-verified\n---\n\n# Minecraft Server (mine)\n\nVanilla Minecraft server on host `mine` (192.168.1.160), port 25565.\n\n## Service\n\n- systemd unit: `minecraft-server-vanilla.service` (user `minecraft`, WorkingDirectory `/home/minecraft/server-vanilla`).\n- ExecStart: screen session `mc-server` running `java -Xms4G -Xmx14G -jar server.jar nogui` (Java 25).\n- `Restart=on-failure`. GOTCHA: a plain `stop` typed into the screen session exits java with non-zero status, systemd counts it as failure and RESPAWNS the server. To stop for real: `systemctl stop minecraft-server-vanilla.service`, then `systemctl reset-failed` to clear the failed state.\n- RCON disabled (`enable-rcon=false`); console access only via the screen session.\n- World data: `/home/minecraft/server-vanilla/world`. MOTD: `GNexus Space`.\n- Server auto-pauses when empty for 60s (vanilla pause feature).\n\n## Public access (verified 2026-10-25)\n\n- Public address: `minecraft.gnexus.space:25565` (DNS → 51.83.131.93, external VPS). End-to-end MC status ping OK: MOTD `A Minecraft Server`, version 26.2 (proto 776), max players 40.\n- Path: external VPS → OpenVPN tunnel (client: ovpn VM 192.168.1.150, tun0 10.8.0.2) → nft DNAT on ovpn VM (tun0 tcp 80/443/25565 → 192.168.1.183, SNAT to 192.168.1.150) → nginx stream on internal-proxy-vps (`/etc/nginx/stream-conf.d/minecraft.gnexus.space.conf`, listen 25565 → 192.168.1.160:25565).\n- Redundant legacy forwarder on the ovpn VM: `minecraft-tcp-forward.service` (socat, listen 25565 → 192.168.68.218:25565 — mine's second NIC in a libvirt network). It receives no tun0 traffic (PREROUTING DNAT intercepts first) and is harmless; safe to disable if desired (owner decision).\n\n## History / observations\n\n- 2026-10-25 (navi rei): public access verified end-to-end (MC status ping via domain and via 51.83.131.93, plus TCP connect from 3 external check-host.net nodes). No config changes were needed — the earlier \"dead mapping\" note was stale: the live nginx stream config already pointed at 192.168.1.160.\n- 2026-10-07: stopped by navi rei on owner request (no players online; last player l3iniv4kur4 left 14:59 UTC). Unit left inactive, world saved via graceful stop.\n- Old Forge modded server directory `/home/minecraft/server` exists with stale logs (Jul 2025) — not the running instance.\n\nNo raw credentials are documented here." + }, + "status": "applied", + "created_at": "2026-10-25T14:39:48Z", + "updated_at": "2026-10-25T14:39:50Z", + "applied_at": "2026-10-25T14:39:50Z", + "validation": { + "status": "ok", + "issue_count": 0, + "issues": [] + } +}