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

18 lines
650 B
Markdown

---
type: Decision
purpose: Record how admin SSH and Gitea SSH share the host without colliding.
answers:
- "Which ports carry admin SSH and Gitea SSH, and which is reachable from outside?"
cites:
- compose.yml:0.0.0.0:2222:22
status: live
reversible: 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](../guides/03-ssh-hardening.md) §7).