aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 19:34:15 +0000
committertv <tv@krebsco.de>2026-11-16 20:57:38 +0100
commitac5a3985620a59651e7c5bcb676f883e3fedd39b (patch)
tree0cbb52fdee1ccd3724755a81731e7e79bebd5ebb /modules
parent95c23de0d7fa75ab6eda02ec197b851e36125fbd (diff)
restrict the guests' egress to https to allowed domains
host.nix takes allowedDomains (default none). The guests' dnsmasq only resolves those names and their subdomains, answers NXDOMAIN for anything else, and adds the addresses it resolves to an nftables set. The new table inet firecracker rejects everything from fcbr0 except tcp port 443 to addresses in that set. dnsmasq runs without cache, so it refills the set after an nftables reload, and without AAAA records, as the guests only have IPv4.
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions