user mode network stack - hostfwd not working with restrict=y

Bug #829455 reported by Luca Andreucci
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

I find that explicit hostfwd commands do not seem to work with restrict=yes option, even if the docs clearly state that hostfwd should override restrict setting.

I am using this config:

-net user,name=test,net=192.168.100.0/24,host=192.168.100.44,restrict=y,hostfwd=tcp:127.0.0.1:3389-192.168.100.1:3389

(my guest has static IP address configured as 192.168.100.1/24)

and I cannot log into my guest via rdp. the client hanging indefinitely.
by just changing to "restrict=no" I can log in.

maybe I am doing something wrong, but I cannot figure out what.

running QEMU emulator version 0.14.0 (qemu-kvm-0.14.0)

Revision history for this message
Axel Huebl (axel-huebl) wrote :
Revision history for this message
Stefan Hajnoczi (stefanha) wrote : Re: [Qemu-devel] [Bug 829455] Re: user mode network stack - hostfwd not working with restrict=y

On Fri, Jun 14, 2013 at 10:59:10AM -0000, Axel Hübl wrote:
> Did you guys merge back the fix in:
>
> http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01519.html
> ?

This patch has not been applied. CCing Jan Kiszka, slirp maintainer.

Stefan

Revision history for this message
Thomas Huth (th-huth) wrote :
Changed in qemu:
status: New → Fix Released
Revision history for this message
prochazka nicolas (prochazka-nicolas) wrote :

It seems that's problem persist with this patch ( qemu 2.7rc2)
Regards

Revision history for this message
prochazka nicolas (prochazka-nicolas) wrote :

Sorry for this spam,
it's just a routing problem .
Regards

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.