Posted By

isholgueras on 11/23/10


Tagged

VirtualBox


Versions (?)

Adding interfaces to Virtualbox


 / Published in: XML
 

How to add/open port to VirtualBox OS guest. ssh in 2222 to 22 apache in 8888 to 80

BE SURE TO CONFIG NET ADAPTER WITH 'PCNET-xxxxxxx'. NOT INTEL!!!!!

  1. <ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" value="2222"/>
  2. <ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" value="22"/>
  3. <ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" value="TCP"/>
  4. <ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/HostPort" value="8888"/>
  5. <ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/GuestPort" value="80"/>
  6. <ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/Protocol" value="TCP"/>

Report this snippet  

You need to login to post a comment.