diff options
| author | tv <tv@krebsco.de> | 2026-11-20 11:04:12 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-20 11:04:12 +0000 |
| commit | c12cc5a78f0b4b153fbe71c2ea3d5ff06d8cde2d (patch) | |
| tree | 751b7a4a86c65ac43526b4d11094663b719c6a9d /tests | |
| parent | a623b0d5de4db7d484371ad5bc6af7d4a0a93aa6 (diff) | |
host: IPv6 for the guests' tcp:// and udp:// rules
The guests get IPv6: fcbr0 has fdfc:fc::1/64 (module argument prefix6),
the host's dnsmasq sends router advertisements, and each guest takes the
address from its MAC (SLAAC with EUI-64; the guest's networkd is set up
for that, without privacy addresses), so the host knows each tap's
address, as with IPv4.
The rules take IPv6 addresses in brackets, tcp://[42::1]:22 or
udp://[42::/16]:5000-5100, and names now resolve to both families (and
get AAAA records for the guests). Forwarded connections get NATed to
the host's address, like IPv4. Like IPv4 everything else is refused:
the bridge only lets a tap send from its own addresses (or :: for
duplicate address detection), the host only answers neighbour and router
discovery, denyDestinations and the per-guest limits apply. HTTPS stays
IPv4, through the proxy: IPv6 port 443 is refused.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
