qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] hostfwd not forwarding from host to guest


From: Lars Noodén
Subject: Re: [Qemu-discuss] hostfwd not forwarding from host to guest
Date: Mon, 12 Aug 2019 14:39:39 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 7/29/19 2:09 PM, Lars Noodén wrote:
[snip]
>         -net user,hostfwd=tcp::2222-:22 \
>         -net user,hostfwd=tcp::8880-:80 \
>         -net user,hostfwd=tcp::4443-:443 \
[snip]

Well, it turns out that the above syntax no longer works, at least not
in QEMU emulator version 3.1.0 (Debian 1:3.1+dfsg-8~deb10u1).  Whether
it is a bug or not, I do not know.  The way that does allow incoming
connections seems to be to put all the hostfwd parameters under a singe
"-net user," option, all one one line, without whitespace:

 -net
user,hostfwd=tcp::2222-:22,hostfwd=tcp::8880-:80,hostfwd=tcp::4443-:443

If the hostfwd parameters are spread over separate options, then qemu
dies when a connection is tried.

/Lars



reply via email to

[Prev in Thread] Current Thread [Next in Thread]