winboat icon indicating copy to clipboard operation
winboat copied to clipboard

fix: Add USER_PORTS to install configuration

Open kroese opened this issue 2 months ago • 3 comments

When the container falls back to user-mode networking instead of kernel-mode (for example when ip_tables is not available or any other permission problem) the USER_PORTS variable is required to forward port 7148 to reach the Winboat Guest Server API.

kroese avatar Oct 24 '25 00:10 kroese

Thanks for noticing this detail!

Why is it that you only included the API port in USER_PORTS? Should we also include the QMP port (7149) in USER_PORTS in case the container falls back to user-mode networking?

Levev avatar Oct 28 '25 20:10 Levev

@Levev No, because the QMP port does not need to be forwarded to the VM, but to the container itself (where QEMU is running). Port 7148 is different, because it is opened inside the VM (instead of outside like 7149).

kroese avatar Oct 29 '25 07:10 kroese

@Levev Can you please merge this?

kroese avatar Nov 06 '25 01:11 kroese

LGTM!

Levev avatar Nov 07 '25 14:11 Levev