mithlond-public/OKF/decisions/R-006-ssh-ports.md
Lukasz Boryn c12604ebb4 feat(template): publish the Mithlond self-hosted Gitea template
A spare-machine Gitea forge, hardened, backed up and with CI, as a template.
Personal values are placeholders listed in the README.
2026-10-16 15:04:18 +02:00

650 B

type, purpose, answers, cites, status, reversible
type purpose answers cites status reversible
Decision Record how admin SSH and Gitea SSH share the host without colliding.
Which ports carry admin SSH and Gitea SSH, and which is reachable from outside?
compose.yml:0.0.0.0:2222:22
live Cheap to renumber; exposing admin SSH publicly would reverse the security posture.

006 — Admin SSH on 2234, Gitea SSH on 2222

Admin SSH on 2234 and Gitea SSH on 2222 avoid both fighting over port 22. The router forwards only 80, 443 and 2222; admin SSH stays LAN-only by design and is reached from outside over the router's WireGuard (guides/03 §7).