Discussions related to using VirtualBox on Windows hosts.
BulleT
Posts: 3 Joined: 5. Oct 2008, 11:48
Post
by BulleT » 5. Oct 2008, 11:52
Hi guys.
I have a VirtualBox with Windows XP as a host and ubuntu Linux as a guest. I want to access Linux with ssh and host a web page on it.
Can somebody help me enable those ports somehow ?
I'm sorry if the thing was discussed before, i tryed the search button but nothing appeard.
Thank you!
Adrian
Sasquatch
Volunteer
Posts: 17798 Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random
Post
by Sasquatch » 5. Oct 2008, 12:45
You can use the Manual for this. The example in the manual shows how to set up Port Forwarding for SSH when using NAT. You can do the same for WWW.
BulleT
Posts: 3 Joined: 5. Oct 2008, 11:48
Post
by BulleT » 5. Oct 2008, 12:53
Thank you i thing i got it.
Edit:::
Smth bad has happened after i restarted ubuntu
00:00:00.468 Power up failed (vrc=VERR_NO_DIGITS, hrc=E_FAIL (0X80004005))
It wont start
Sasquatch
Volunteer
Posts: 17798 Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random
Post
by Sasquatch » 5. Oct 2008, 13:45
What commands did you use, and what is in your <machine>.xml file for extra data?
BulleT
Posts: 3 Joined: 5. Oct 2008, 11:48
Post
by BulleT » 5. Oct 2008, 13:58
<ExtraData>
<ExtraDataItem name="GUI/SaveMountedAtRuntime" value="yes"/>
<ExtraDataItem name="GUI/LastCloseAction" value="powerOff"/>
<ExtraDataItem name="GUI/LastWindowPostion" value="108,30,640,522"/>
<ExtraDataItem name="GUI/Fullscreen" value="off"/>
<ExtraDataItem name="GUI/Seamless" value="off"/>
<ExtraDataItem name="GUI/AutoresizeGuest" value="off"/>
<ExtraDataItem name="VBoxInternal/Devices/e1000/LUN#0/Config/guestssh/Protocol" value="TCP"/>
<ExtraDataItem name="VBoxInternal/Devices/e1000/LUN#0/Config/guestssh/HostPort" value="2222"/>
<ExtraDataItem name="VBoxInternal/Devices/e1000/LUN#0/Config/guestssh/GuestPort" value="22"/>
</ExtraData>
Sasquatch
Volunteer
Posts: 17798 Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random
Post
by Sasquatch » 6. Oct 2008, 21:39
Ok, what NIC type are you using for the Guest? You set the port forward for the first NIC if it's an Intel/PRO1000 card. If you use the PCNet adapter, you can to change your command. Use pcnet instead of e1000 or change the NIC. Keep in mind that it's possible that your Linux Guest will create a new NIC because of a different driver.