Page 1 of 1

VBox 4.0 Can't use same port for TCP & UDP forwarding

Posted: 16. Jan 2011, 02:10
by appyface
Using 4.0.0.r69151 (Win7 Pro 64-bit host/XP Pro SP3 32-bit guest).

I can no longer use same port for both TCP and UDP in 4.0?

These are my rule commands, they worked right up to last 3.x version (used to be done with 'setextradata' in early 3.x verison, then later on changed to 'modifyvm'):

Code: Select all

VBoxManage.exe modifyvm "my_vm" --natpf1 "tcp_pf",tcp,,32512,,32512
VBoxManage.exe modifyvm "my_vm" --natpf1 "ucp_pf",udp,,32512,,32512
Now with 4.0 I can only set both rules if each uses a different port. I checked the Help for 4.0 but did not find info stating this is a restriction now.

How can I use the same port number for both TCP and UDP traffic in 4.0 version? Help is appreciated, thank you :-)

Kind regards,
--appyface

EDIT: Bugtracker ticket #8094 opened for this issue.

Re: VBox 4.0 Can't use same port for TCP & UDP forwarding

Posted: 16. Jan 2011, 03:36
by Perryg
Did you try setting them in the GUI (main VBox program) and network settings for the guest (under advanced)?
Or if in CLI read this http://www.virtualbox.org/manual/ch06.html#natforward

Re: VBox 4.0 Can't use same port for TCP & UDP forwarding

Posted: 16. Jan 2011, 15:13
by Sasquatch
I just tested it myself through the GUI, the second rule is NOT applied. It just vanished from the rule list. This looks like a bug, report it in the Bugtracker (separate account needed), so the devs know about it and can fix it.

Re: VBox 4.0 Can't use same port for TCP & UDP forwarding

Posted: 16. Jan 2011, 17:01
by appyface
Will do. Thank you Sasquatch.

Kind regards,
--appyface

EDIT: Bugtracker ticket #8094 opened for this issue.