VirtualBox

Ticket #716 (closed defect: invalid)

Opened 7 years ago

Last modified 6 years ago

NAT problems => retry with VBox 1.5.4

Reported by: kimus Owned by:
Priority: major Component: other
Version: VirtualBox 1.5.0 Keywords:
Cc: Guest type: other
Host type: other

Description

There are some 'problems' in NAT implementation.

I use this configuration to acess Apache HTTP Server from the Host to the Guest virtual machine: VBoxManage setextradata "vmname" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/Apache/Protocol" TCP VBoxManage setextradata "vmname" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/Apache/GuestPort" 80 VBoxManage setextradata "vmname" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/Apache/HostPort" 8080

First if I put 80 instead of 8080 gives me an error. There is no application using port 80. Maybe this has to do with permissions because of the low port number.

Second, If the guest has a fixed IP then the NAT won't work because is expecting that the interface is configured to use DHCP !

Third, I can't use the VirtualHost's Apache configuration. example: accessing the url  http://somehost:8080/ in the Host machine don't go to the correct page. If I do  http://somehost/ in the Guest works fine!

I don't want to use bridging!!

Change History

comment:1 Changed 7 years ago by kimus

If I save the Guest VM after I start the VM the NAT doesn't work again.

comment:2 Changed 6 years ago by frank

Your first problem: Yes, this is because of the low number. You cannot forward port 80 to the VM. I don't understand your second problem. Regarding your third problem: What is displayed in the browser if not the correct page?

Regarding your other comment: This bug was fixed in VirtualBox 1.5.4.

comment:3 Changed 6 years ago by frank

  • Summary changed from NAT problems to NAT problems => retry with VBox 1.5.4

comment:4 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid

No response for ages, closing.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use