Opened 13 years ago
Closed 8 years ago
#10705 closed defect (obsolete)
Portforwarding for NAT cranky about zeroes
Reported by: | PFudd | Owned by: | |
---|---|---|---|
Component: | GUI | Version: | VirtualBox 4.1.18 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Mac OS X |
Description
Hi..
I'm using VB 4.1.18 on MacOSX 10.6.8 with Fedora17 x86_64 as the guest.
In order to forward port 2222 on the Mac to port 22 on the guest, I clicked on 'settings' for the guest in the VB manager, picked 'network', picked 'port forwarding', clicked on '+', and entered:
Host IP: 0.0.0.0 Host Port: 2222 Guest IP: 0.0.0.0 Guest Port: 22
The first time I pressed 'OK', VB said 'Zeroes are not allowed'. The second time I pressed 'OK', it worked, and everything seems fine in all respects.
Could you get rid of the bogus warning message?
Thanks
Attachments (2)
Change History (7)
by , 13 years ago
follow-up: 2 comment:1 by , 13 years ago
Hmm, cannot reproduce. Are you really sure that after snap2.png you pressed OK and got the error message from snap3.png?
comment:2 by , 13 years ago
Replying to frank:
Hmm, cannot reproduce. Are you really sure that after snap2.png you pressed OK and got the error message from snap3.png?
Frank, It's easy to reproduce: while cursor blinking at text field, just after you've entered desired port value, please, enter the <OK> button. The error dialog will appear immediately.
comment:4 by , 11 years ago
Component: | network/NAT → GUI |
---|
The problem, most likely, is that the text field that is still focused is considered empty. After the error message it loses focus, the value entered in the field is "committed" and next time Ok is pressed everything is fine.
comment:5 by , 8 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
I'm adding rule3.