Bug#934676: Please clarify that systemd-nspawn(1) --port= is IPv4-only (no IPv6)

Michael Biebl biebl at debian.org
Sun Mar 28 04:12:14 BST 2021


Control: retitle -1 Support IPv6 in systemd-nspawn
Control: forwarded -1 https://github.com/systemd/systemd/pull/18007
Control: tags -1 + ipv6 fixed-upstream

Am 13.08.2019 um 11:12 schrieb Trent W. Buck:
> Package: systemd-container
> Version: 241-5
> Severity: wishlist
> 
> systemd-nspawn --port=tcp:2022:22 redirects
> port 2022/tcp (on the host) to
> port 22/tcp (on the guest).
> 
> (This is equivalent to "-net user,hostfwd=::2022-:22" in qemu VMs.)
> 
> 
> AFAICT systemd-nspawn only does this for IPv4 (not IPv6).
> This was not obvious to me from the manpage.
> 
> Please either fix --port to support IPv6, or
> clearly document that --port is IPv4-only.

Seems the former has happened, systemd-nspawn with IPv6 support will 
land in v248.
Retitling accordingly.

Regards,
Michael



More information about the Pkg-systemd-maintainers mailing list