{
"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": []
}
}