diff options
| author | tv <tv@krebsco.de> | 2026-11-16 19:34:15 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 20:57:38 +0100 |
| commit | ac5a3985620a59651e7c5bcb676f883e3fedd39b (patch) | |
| tree | 0cbb52fdee1ccd3724755a81731e7e79bebd5ebb /pkgs/run-firecracker-vm/kernel.nix | |
| parent | 95c23de0d7fa75ab6eda02ec197b851e36125fbd (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 'pkgs/run-firecracker-vm/kernel.nix')
0 files changed, 0 insertions, 0 deletions
