Opened 6 years ago
Closed 4 years ago
#18799 closed defect (invalid)
VirtualBox 6.0.10 r132072" Only Allows Port Forwarding for NAT
Reported by: | Oleg Tsvinev | Owned by: | |
---|---|---|---|
Component: | network | Version: | VirtualBox 6.0.10 |
Keywords: | port forward bridged | Cc: | oleg.tsvinev@… |
Guest type: | Linux | Host type: | Mac OS X |
Description
How to reproduce:
Use VirtualBox UI Create a new Linux/Ubuntu 64 bit VM Open Settings, Network Select Adapter1 Make sure "Enable Network Adapter" is checked Open "Advanced" In "Attached to:" select NAT -> you will see "Port Forwarding" button enabled
Now, select anything but NAT in "Attached to:"
-> you will see "Port Forwarding" button DISABLED (greyed out)
Other use case, create a Vagrant with bridged network defined for Bridged Adapter 2. When using Vagrant with bridged network defined, port forwards are created in NAT, not in Bridged Adapter 2
That's not a bug, that's by design!
"Port forwarding" is valid only for the NAT and NATnetwork options. In any other case it doesn't make sense.
BTW, it's usually better and faster, if issues get first addressed in the VirtualBox forums, a lot more eyes there. More than 95% of the issues are resolved in the forums, which keeps the developers focusing on the bug fixes and enhancements, and there is no need for another ticket to keep track of. For example, yours is not a bug and someone from the developers has to deal with it and close it as "Invalid".