%%{init: {'theme': 'base', 'flowchart': {'nodeSpacing': 50, 'rankSpacing': 60}}}%% flowchart LR subgraph internet ["Internet"] direction TB ddns["DDNS Namecheap
arauco.online
git.arauco.online
www.arauco.online"] upstream["Forwarders DNS
8.8.8.8 / 8.8.4.4 / 1.1.1.1"] end subgraph swisscom ["Routeur Swisscom"] gw["Gateway 192.168.99.1"] nat["NAT ext:2222
-> .51:1220"] end subgraph host_if ["araucaria - Interfaces"] direction TB eth0["eth0 .50/24
master br0
00:25:90:e7:47:e4"] eth1["eth1 .51/24
SSH externe
00:25:90:e7:47:e5"] br0["br0 Bridge .50/24"] virbr0["virbr0 .122.1/24
DOWN"] eth0 --- br0 end subgraph dns_conf ["dnsmasq Config"] dns_svc[":53 sur br0
domain=local
cache=1000
log=/var/log/dnsmasq.log"] end subgraph records ["Enregistrements DNS"] direction TB r_araucaria[".50 arauco.online
.50 www.arauco.online
.51 araucaria-eth1"] r_chillka[".55 git.arauco.online
.55 chillka.local"] r_npagnun[".35 npagnun.local
.35 keycloak.arauco.local"] r_huitral[".22 huitral.local"] r_other[".33 lemolemo | .44 toki
.11 copihue | .66 huinca"] end subgraph ptr ["PTR Records"] direction TB ptr1["50.99.168.192
araucaria.local"] ptr2["51.99.168.192
araucaria-eth1.local"] end subgraph vm_if ["Interfaces VM br0"] direction TB vnet1["vnet1 chillka
52:54:00:0f:28:80"] vnet7["vnet7 npagnun
52:54:00:5e:06:1e"] vnet8["vnet8 huitral
52:54:00:ce:24:7f"] end subgraph routes ["Routes"] direction TB rt1["default via .1 eth0"] rt2["default via .1 eth1"] rt3[".0/24 br0 src .50"] rt4[".0/24 eth1 src .51"] end ddns --> nat nat -->|"2222->1220"| eth1 upstream --> dns_svc dns_svc --> records dns_svc --> ptr br0 --- vnet1 br0 --- vnet7 br0 --- vnet8 classDef netStyle fill:#1e3a5f,stroke:#4a90d9,color:#a8d0f0 classDef dnsStyle fill:#1e4a4a,stroke:#4a9a9a,color:#a8e0e0 classDef extStyle fill:#2a3a4a,stroke:#6a8aaa,color:#b0d0e8 classDef routeStyle fill:#3a3a1e,stroke:#9a9a4a,color:#e0e0a8 classDef dormStyle fill:#2a2a2a,stroke:#666,color:#999 class ddns,upstream,nat,gw extStyle class eth0,br0,eth1 netStyle class virbr0 dormStyle class dns_svc,r_araucaria,r_chillka,r_npagnun,r_huitral,r_other dnsStyle class ptr1,ptr2 dnsStyle class vnet1,vnet7,vnet8 netStyle class rt1,rt2,rt3,rt4 routeStyle