From 9fe9ae987c32b7067a3683bcdd06a4c3b825341b Mon Sep 17 00:00:00 2001 From: Tine Date: Sun, 3 Nov 2024 10:29:23 +0100 Subject: [PATCH] docs: arhitecture --- README.md | 18 +++++++++++++++--- docs/arhitecture.excalidraw.svg | 10 ++++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 docs/arhitecture.excalidraw.svg diff --git a/README.md b/README.md index b49daec..5ad9606 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,20 @@ -# ingress +# `network.tjo.cloud` -Handling all Ingress traffic +Handling networking between nodes and between virtual machines. -## Setting up +# Architecture + + + +__WAN interface__ either represents an actual public interface (on Hetzner) or an interface in home LAN that has port-forwarded ports to it from home router. + +__LAN interface__ is an ordinary lan network. + +__ingress.tjo.cloud__ has port-forwarded all public ports to it (22, 25, 80, 443, 587 etc.). No other VM is accessible from the internet. + +__network.tjo.cloud__ establishes Tailscale VPN connection between other network.tjo.cloud VMs. Using subnet routing it makes it possible that each VM can connect to all other VMs on any Proxmox host. + +# Setting up new Host ### 1. Add new device to terraform.tfvars. diff --git a/docs/arhitecture.excalidraw.svg b/docs/arhitecture.excalidraw.svg new file mode 100644 index 0000000..d966dff --- /dev/null +++ b/docs/arhitecture.excalidraw.svg @@ -0,0 +1,10 @@ + + + eyJ2ZXJzaW9uIjoiMSIsImVuY29kaW5nIjoiYnN0cmluZyIsImNvbXByZXNzZWQiOnRydWUsImVuY29kZWQiOiJ4nO1cXFlX4khcdTAwMTR+71/BcV6HTO1Lv6Fii1x1MDAwYtqK6/RcdTAwMWNPTFx1MDAwMkRCgiFcYjqn//tUUMnKXHUwMDEyxK2n6XNaqSSVW5X7fferWzf++6VUWlx1MDAwYu571trX0po1MnTHNn19uPZn2H5n+X3bc9UhNP7e91x1MDAwNr4xPrNcdTAwMWRcdTAwMDS9/te//oqu0Fxmr/t4leVYXctccvrqvL/V91Lp3/H/6ohthtdcdTAwMDZGdfNcdTAwMDHrZ9XW5ZZ5rG+TVv9Gji9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xNX9JpKxUz1RkLORcdTAwMWaM6b48PdI1vdc7XHUwMDBllE9OZmLtzraG69P/Qs2XJ8NCXHUwMDA2scbo+/nl539cdTAwMDBMKlQifQ== + + + + + Proxmox Hostnetwork.tjo.cloud VMOPNsense1x WAN1x LANingress.tjo.cloudNGINX1x LANkubernetes.tjo.cloudKubernetes Node1x LANExternal TrafficTailscale Connectionbetween hosts \ No newline at end of file