IP Whitelisting

This commit is contained in:
Andreas Knuth 2026-01-30 09:56:02 -06:00
parent 81c62446f5
commit 4d22969238
3 changed files with 16 additions and 9 deletions

View File

@ -0,0 +1,5 @@
# Private Docker IP Ranges
172.16.0.0/12
192.168.0.0/16
10.0.0.0/8
fd00::/8

View File

@ -0,0 +1,11 @@
# --- Bestehende Domain-Regeln (falls vorhanden) ---
# ...
# --- NEU: IP-Whitelist für Docker ---
DOCKER_WHITELIST {
type = "ip";
map = "${LOCAL_CONFDIR}/local.d/docker_networks.map";
score = -20.0; # Zieht 20 Punkte ab -> Score wird negativ -> Inbox
description = "Trust internal Docker networks";
action = "accept"; # Optional: Erzwingt Annahme
}

View File

@ -1,9 +0,0 @@
# Wir vertrauen dem internen Docker-Netzwerk
local_addrs = [
"127.0.0.0/8",
"::1",
"172.16.0.0/12",
"192.168.0.0/16",
"10.0.0.0/8",
"fd00::/8"
];