🧪 Tech-Lab & How-To Base von Sebastian Teßmann • Zu den Produktivservices: tessmann-digital.de

📚 Archiv

Supply Chain Security: Docker-Updates absichern mit Trivy und Watchtower CVE-2026-98432: Warum ein Kernel-Update allein nicht reicht (und echtes System-Hardening) Home Assistant vs. Alexa: Das echte Smart Home (inkl. Pi-Setup, HACS & FRITZ!Box) Zero-Day abgewehrt: Die Anatomie der PHP-Lücke (CVE-2026-109618) und der ultimative Docker-Schutz Zero-Bloat Hosting: Nginx Proxy Manager, Apache & Fail2ban sicher unter Docker vereinen Checkmk Community Edition auf Debian 13: Der ultimative Guide (Installation, Distributed Monitoring, Custom Plugins & Gotify) Debian 13 vs. Windows Server im Enterprise-Einsatz: Performance, Härtung & Top 20 CLI-Befehle Cyberkrieg gegen den Mittelstand: Unsere Migration auf Proxmox, OPNsense & Zero-Trust Open Source vs. Payware: Der ehrliche Vergleich für KMU & IT-Infrastrukturen Bye-bye VMware: Mein Weg über Hyper-V zu Proxmox VE Tutorial: High-Performance Cloud mit Seafile auf Debian 13 & Proxmox VE Tutorial: Portainer EE auf CE downgraden & sicherer Host-Umzug Tutorial: CorePlan via Docker deployen (HTTPS out-of-the-box) Tutorial: Eigenes Docker Image bauen (Apache, PHP, Auto-SSL & HTTP zu HTTPS Redirect) Proxmox Unified Console (PUC): Das All-in-One Dashboard für PVE, PBS & PMG Eigener Bitcoin Solo Pool: Full Node (bitcoind), public-pool Backend & individuelles PHP-Dashboard im Docker-Stack OPNsense: HAProxy als Reverse Proxy mit Let's Encrypt SSL-Offloading & SNI / ACL-Routing Mobiles Arbeiten & Kanzlei-Zugriff: WireGuard VPN auf der FRITZ!Box, Windows & iPhone inkl. NAS-SMB-Mount Tschüss Windows, hallo Pinguin: Der ehrliche Leitfaden für den Linux-Umstieg (und warum CachyOS mein Gaming rettete) Eigener Bitcoin Solo-Mining-Pool: Public-Pool & Pruned Full Node im Docker-Homelab Gaming auf Linux: Kompletter Umstieg von Windows zu CachyOS (Kernel, Steam, Heroic & MangoHud) Docker Container absichern: Rootless, Read-Only Filesystems & Linux Capabilities Portainer CE auf Docker: Schritt-für-Schritt Setup mit persistenten Volumes & Hardening Docker Engine & Compose V2 auf Debian/Ubuntu: Saubere Installation via Official Repository E-Mail Deliverability: SPF, DKIM & DMARC richtig konfigurieren (Schritt-für-Schritt) Proxmox VE & OPNsense: IPv6 /64 Subnetting (/80 WAN Transit & /96 LAN Segmentierung) OPNsense auf Proxmox VE: Vollständiges Setup von ISO-Download bis Hardening & DNSmasq Proxmox VE auf Debian 12 (Bookworm) installieren & Routed Network (vmbr0/vmbr1) einrichten

Proxmox VE & OPNsense: IPv6 /64 Subnetting (/80 WAN Transit & /96 LAN Segmentierung)

Dedicated Server erhalten von Rechenzentren (wie Hetzner) standardmäßig ein /64 IPv6-Subnetz (z. B. 2a01:4f8:123:4567::/64). Möchte man dieses Präfix nicht per NDP-Proxy verbiegen, sondern echtes, sauberes Routing an eine virtualisierte OPNsense-Firewall durchführen, empfiehlt sich ein präzises Subnetting.

1. Das Subnetz-Konzept (/80 Transit & /96 LAN)

  • Host / WAN-Transit (vmbr0): 2a01:4f8:123:4567:1::/80
    • Proxmox Host Gateway: 2a01:4f8:123:4567:1::1/80
    • OPNsense WAN-Interface: 2a01:4f8:123:4567:1::2/80 (Gateway: ...:1::1)
  • Internes LAN (vmbr1 / VMs & Container): 2a01:4f8:123:4567:2:1::/96
    • OPNsense LAN-Interface: 2a01:4f8:123:4567:2:1::1/96
    • VMs / Container im LAN: 2a01:4f8:123:4567:2:1::10/96 etc.

2. Proxmox Host-Konfiguration (/etc/network/interfaces)

Auf dem Proxmox-Host aktivieren wir das IPv6-Forwarding und routen das nachgelagerte LAN-Subnetz gezielt auf die WAN-IPv6 der OPNsense:

# /etc/sysctl.d/99-ipv6-forwarding.conf
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.accept_ra = 2

Die Netzwerkkonfiguration in /etc/network/interfaces:

auto lo
iface lo inet loopback

# Physische Schnittstelle
auto enp7s0
iface enp7s0 inet manual
iface enp7s0 inet6 manual

# Öffentliche Bridge (WAN)
auto vmbr0
iface vmbr0 inet static
    address 195.201.x.y/32
    gateway 195.201.x.1
    bridge-ports enp7s0
    bridge-stp off
    bridge-fd 0

iface vmbr0 inet6 static
    address 2a01:4f8:123:4567:1::1/80
    gateway fe80::1
    # Route für das nachgelagerte LAN-Segment an die OPNsense (WAN-IP: ...:1::2)
    up ip -6 route add 2a01:4f8:123:4567:2:1::/96 via 2a01:4f8:123:4567:1::2

# Interne Bridge (Isoliertes LAN)
auto vmbr1
iface vmbr1 inet manual
    bridge-ports none
    bridge-stp off
    bridge-fd 0

3. Konfiguration in OPNsense

  1. WAN-Schnittstelle (vtnet0 an vmbr0):
    • IPv6 Configuration Type: Static IPv6
    • IPv6 address: 2a01:4f8:123:4567:1::2/80
    • IPv6 Upstream Gateway: 2a01:4f8:123:4567:1::1
  2. LAN-Schnittstelle (vtnet1 an vmbr1):
    • IPv6 Configuration Type: Static IPv6
    • IPv6 address: 2a01:4f8:123:4567:2:1::1/96
  3. Router Advertisements (Services -> Router Advertisements):
    • Modus auf Stateless oder Managed (DHCPv6) setzen, damit VMs im LAN per SLAAC automatisch IPs aus dem /96-Netz erhalten.

Damit ist der gesamte IPv6-Traffic der internen VMs und Container sauber durch die OPNsense gefiltert, ohne dass NAT oder krumme Bridge-Hacks erforderlich sind.