[systemd-devel] Can't get port mapping to work for https

Rob Ert ertr3960 at gmail.com
Wed Dec 6 09:15:11 UTC 2023


Hello all,

I'm running a systemd-nspawn container started with machinectl using the
following systemd.nspawn file in /etc/systemd/nspawn:

[Exec]
PrivateUsers=off
Timezone=off
[Network]
VirtualEthernet=yes
Port=tcp:23:22
Port=tcp:8080:80
Port=tcp:4433:443

The problem I'm having is that the port mapping for 443 fails, whereas the
other mappings work. The listed services are all active in the guest
system, and no firewall rules are active.

System: Debian

Host: # apt list systemd-container
Listing... Done
systemd-container/testing,now 254.5-1 amd64 [installed]

Guest: # apt list systemd-container
Listing... Done
systemd-container/stable,now 252.17-1~deb12u1 amd64 [installed]


Any help would be much appreciated.

Best regards,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20231206/d773b6b7/attachment.htm>


More information about the systemd-devel mailing list