From c729d52c00437c5a1265d981a229bebe38e133a7 Mon Sep 17 00:00:00 2001 From: Guillem Borrell Nogueras Date: Wed, 3 Aug 2022 09:24:43 +0200 Subject: [PATCH] Update 'The Lab' --- The-Lab.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/The-Lab.md b/The-Lab.md index a91285e..1fd0825 100644 --- a/The-Lab.md +++ b/The-Lab.md @@ -12,12 +12,15 @@ How I'm building my personal lab. └───────────────────────────┘ └──────────────────────────┘ ``` -* Caddy for auto HTTPS -* Rathole for NAT traversal +* Caddy for auto HTTPS. Caddy provides the equivalent to an cloud "application load balancer" service +* Rathole for NAT traversal. Rathole provides the equivalent to a cloud "network load balancer" service * Docker and docker compose to run all services ## Configuration +### VM +We'll need to change the VM + ### Rathole This is the server configuration @@ -78,6 +81,17 @@ git.guillemborrell.es { ``` You probably get how to add an additional service with auto-http +### SSH + +Note that the gitssh services are forwarded by Rathole, not by Caddy. Of course we want to let the port 22 for admin purposes. Here's how the ssh config would look: + +``` +Host lab + User guillem + Port 3389 + HostName lab.guillemborrell.es +``` + ## FAQ ### How small the small and cheap VM?