tobimensch / aqemu

Official AQEMU repository - a GUI for virtual machines using QEMU as the backend
https://sourceforge.net/projects/aqemu/
GNU General Public License v2.0
503 stars 88 forks source link

Host port forwaring: Can you remove the "..." in "net user,hostfwd=tcp::9000-...:22" when no IP address is given? #54

Open mgmechanics opened 6 years ago

mgmechanics commented 6 years ago

With version 0.9.2 (2016.05.31)

When I go to Network > Redirections and add a redirection fill host port: 9000 fill guest port: 22 but leave the field "To guest IP" empty

Then the qemu arguments contain "net user,hostfwd=tcp::9000-...:22"

The three dots are not correct in the place so the VM does not even start. Can we leave those "..." so that the argument is "net user,hostfwd=tcp::9000-:22" if no guest IP is given?

I tried this and found that I can connect the SSH server listening on port 22 in the guest from the host just by "ssh -p 9000 localhost".