Saltar al contenido ForoHackers

Self-hosting: start here

Autoalojamiento
#3205 · · Citar · Denunciar

Self-hosting is running the services you use, such as files, mail, photos, chat or a website, on hardware you control rather than renting them as a product. You gain control, privacy and learning; in exchange you become the administrator, responsible for security, updates, backups and uptime.

Key concepts

  • Exposure: every service reachable from the internet is attack surface; expose as little as you can.
  • Networking: a stable address or dynamic DNS, port forwarding, a reverse proxy and TLS certificates.
  • Isolation: containers or virtual machines keep one broken service from taking down the rest.
  • Updates and monitoring: patch on a schedule and know when something stops working.
  • Backups: the data you host is yours alone to protect, so test restoring it.

Vocabulary

  • Reverse proxy: a front server that routes requests to the right service and terminates TLS.
  • Dynamic DNS: keeping a name pointed at an address that changes.
  • VPN: an encrypted tunnel, often the safest way to reach services meant only for you.
  • Homelab: a personal setup of machines for running and learning.

What to study, in order

  1. Run one service in a container on a spare computer, reachable only on your local network.
  2. Learn how DNS, ports and NAT decide what can reach it.
  3. Add a reverse proxy with a TLS certificate and a real domain name.
  4. Put administration behind a VPN or SSH keys, and close every port you do not need.
  5. Schedule backups and restore one to a different machine.
  6. Set up monitoring and a routine for updates, then add a second service.

Related tags

#homelab #containers #backups #network-administration

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder