Adding interfaces to Virtualbox


/ Published in: XML
Save to your folder(s)

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!!!!!


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.