Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
VirtualBox 3.1: Beginner's Guide

You're reading from   VirtualBox 3.1: Beginner's Guide Deploy and manage a cost-effective virtual environment using VirtualBox

Arrow left icon
Product type Paperback
Published in Apr 2010
Publisher Packt
ISBN-13 9781847199140
Length 348 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Alfonso Vidal Romero Alfonso Vidal Romero
Author Profile Icon Alfonso Vidal Romero
Alfonso Vidal Romero
Alfonso Vidal Romero Elizondo Alfonso Vidal Romero Elizondo
Author Profile Icon Alfonso Vidal Romero Elizondo
Alfonso Vidal Romero Elizondo
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

VirtualBox 3.1: Beginner's Guide
Credits
About the Author
About the Reviewer
Preface
1. Getting to Work with VirtualBox FREE CHAPTER 2. Creating Your First Virtual Machine: Ubuntu Linux 3. Creating Your Second Virtual Machine: Windows 7 4. Installing Guest Additions and Advanced Settings 5. Storing Data in VirtualBox 6. Networking with Virtual Machines 7. Using Virtual Appliances 8. Managing your Virtual Machines from a Remote Computer Using Snapshots Pop Quiz Answers Index

Time for action – enabling port-forwarding in NAT mode


In the following exercise, I'll show you how to use the port-forwarding feature available in the NAT networking mode of your UbuntuVB virtual machine, so that your host PC can access the web server from the previous Time for action—Accessing the NAT mode in your VM section.

Note

When using the VBoxManage command on a Windows host, you need to add the full path to the VBoxManage command; another option is to add the VirtualBox installation folder—the default being "C:\Program Files\Sun\VirtualBox\"—to your system path.

On Linux systems, you don't have to specify the VirtualBox path when using the VBoxManage command.

  1. Open a Command Prompt and type the following lines, pressing Enter after each one:

    "C:\Program Files\Sun\VirtualBox\VBoxManage" setextradata "UbuntuVB" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/webserver/Protocol" "TCP"
    
    "C:\Program Files\Sun\VirtualBox\VBoxManage" setextradata "UbuntuVB" "VBoxInternal/Devices/pcnet/0/LUN#0...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image