VirtualBox

Ticket #10705 (new defect)

Opened 3 years ago

Last modified 12 months ago

Portforwarding for NAT cranky about zeroes

Reported by: PFudd Owned by:
Priority: minor 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

snap2.png Download (99.3 KB) - added by PFudd 3 years ago.
I'm adding rule3.
snap3.png Download (103.6 KB) - added by PFudd 3 years ago.
Bogus error

Change History

Changed 3 years ago by PFudd

I'm adding rule3.

Changed 3 years ago by PFudd

Bogus error

comment:1 follow-up: ↓ 2 Changed 3 years ago by frank

Hmm, cannot reproduce. Are you really sure that after snap2.png you pressed OK and got the error message from snap3.png?

comment:2 in reply to: ↑ 1 Changed 3 years ago by Hachiman

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:3 Changed 3 years ago by frank

Then this is Mac-specific as this works, for instance, on Linux.

comment:4 Changed 12 months ago by vushakov

  • Component changed from network/NAT to 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.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use