infrastructure:servers:chaosknoten
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| infrastructure:servers:chaosknoten [2025-05-20 17:26 UTC] – fix SSH jump-host config jtbx | infrastructure:servers:chaosknoten [2026-02-24 13:44 UTC] (current) – fix netbox domain lilly | ||
|---|---|---|---|
| Line 34: | Line 34: | ||
| ===== Gast-VMs ===== | ===== Gast-VMs ===== | ||
| - | Die VMs sind in Netbox dokumentiert: | + | Die VMs sind in Netbox dokumentiert: |
| ===== Firewall-Freischaltung ===== | ===== Firewall-Freischaltung ===== | ||
| Line 42: | Line 42: | ||
| * stb: 213.240.180.39 und 2a01: | * stb: 213.240.180.39 und 2a01: | ||
| * haegar: 136.243.3.21, | * haegar: 136.243.3.21, | ||
| + | |||
| ===== Netzwerkanbindung ===== | ===== Netzwerkanbindung ===== | ||
| Line 62: | Line 63: | ||
| '' | '' | ||
| - | DIe VMs haben Adressen aus verschiedenen Netzen. Siehe [[https:// | + | Die VMs haben Adressen aus verschiedenen Netzen. Siehe [[https:// |
| ==== IPMI-iDRAC-Interface ==== | ==== IPMI-iDRAC-Interface ==== | ||
| Line 72: | Line 73: | ||
| * Hostname '' | * Hostname '' | ||
| + | ==== Network Design ==== | ||
| - | ==== IPv4 ==== | + | Currently only some traffic is going through the old router VM (turing) and other VMs are routed by Wieske. |
| + | We intend to move over to a setup where all traffic is going through a new router VM ([[https:// | ||
| + | |||
| + | There are requirements for 3 main networks: | ||
| + | |||
| + | * v4-NAT: VMs without public IPv4 address behind the public reverse proxy | ||
| + | * public: VMs with public IPv4 address | ||
| + | * VMs without public interface at all, e.g. CI runners | ||
| + | |||
| + | Internal networks are all running on one linux bridge interface '' | ||
| + | See [[https:// | ||
| + | |||
| + | Internal IPv4 addresses shall use '' | ||
| + | Each VLAN shall use it's own ''/ | ||
| + | |||
| + | The router will have additional network interfaces for the uplink bridge devices '' | ||
| + | |||
| + | === How to add VMs === | ||
| + | |||
| + | To add a new VM: | ||
| + | |||
| + | * Generate new public IPv6 and add to Netbox, e.g. in [[https:// | ||
| + | * Add records to DNS server | ||
| + | * AAAA record on '' | ||
| + | * A and AAAA records for '' | ||
| + | * Create VM in Proxmox and note MAC address | ||
| + | * Add VM in [[https:// | ||
| + | * Create interface in '' | ||
| + | * Configure the chosen IPv6 address in cloud-init, IPv4 shall be DHCP | ||
| + | * Setup firewall in Proxmox as needed | ||
| + | * When in v4-NAT network: Re-deploy public-reverse-proxy | ||
| + | |||
| + | ==== Legacy | ||
| === Public IPv4s === | === Public IPv4s === | ||
| Line 90: | Line 124: | ||
| * '' | * '' | ||
| - | ==== IPv6 ==== | + | ==== Legacy |
| - | We have 2 IPv6-64-Prefixes, | + | The new prefix for IPv6 connectivity is '' |
| + | It is routed through our new router VM (which shall have '' | ||
| + | Please see the NetBox which sub-prefixes are used for what! | ||
| + | |||
| + | Legacy: | ||
| === 2a00: | === 2a00: | ||
| Line 123: | Line 161: | ||
| ===== Zugriff auf VMs ===== | ===== Zugriff auf VMs ===== | ||
| - | SSH auf allen VMs läuft auf nicht-Standard-Ports, | + | SSH auf alten VMs läuft auf nicht-Standard-Ports, |
| - | Alle VMs, die eine RFC1918-Adresse haben, können über turing-router oder turing-main als Jumphost erreicht werden. Als Beispiel hier ein Snippet für '' | + | VMs sollten per IPv6 direkt erreichbar sein. |
| + | Falls Zugriff aus einem Netz ohne IPv6 erforderlich ist, kann die Router-VM als Jumphost verwendet werden. | ||
| + | |||
| + | Alte VMs, die eine RFC1918-Adresse haben, können über turing-router oder turing-main als Jumphost erreicht werden. Als Beispiel hier ein Snippet für '' | ||
| < | < | ||
| + | Host ccchh-router | ||
| + | User chaos | ||
| + | Hostname router.hamburg.ccc.de | ||
| + | |||
| + | Host *.host.hamburg.ccc.de | ||
| + | User chaos | ||
| + | ProxyJump ccchh-router | ||
| + | |||
| + | |||
| + | ## legacy | ||
| Host ccchh-jumphost | Host ccchh-jumphost | ||
| User chaos | User chaos | ||
infrastructure/servers/chaosknoten.1747761961.txt.gz · Last modified: by jtbx