<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Configure Port Forwarding to a VirtualBox Guest OS</title>
	<atom:link href="http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/feed/" rel="self" type="application/rss+xml" />
	<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/</link>
	<description>News, Tips, and How-Tos for Ubuntu Linux</description>
	<lastBuildDate>Tue, 01 May 2012 21:09:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Matteius</title>
		<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/#comment-188373</link>
		<dc:creator>Matteius</dc:creator>
		<pubDate>Thu, 13 Oct 2011 02:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://tombuntu.com/?p=1445#comment-188373</guid>
		<description>I tried this approach to get some service connectivity between my host and guest when my host is connected to a VPN that requires all network traffic be routed through the VPN.  There is a major flaw that it seems impossible to get at your guest VBox when connected to such a VPN.</description>
		<content:encoded><![CDATA[<p>I tried this approach to get some service connectivity between my host and guest when my host is connected to a VPN that requires all network traffic be routed through the VPN.  There is a major flaw that it seems impossible to get at your guest VBox when connected to such a VPN.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/#comment-164833</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Mon, 11 Jul 2011 02:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://tombuntu.com/?p=1445#comment-164833</guid>
		<description>If you&#039;re using this, make sure you&#039;re using the PCNET adapter, otherwise, your VM won&#039;t start. The commands given are for the PCNET adapter</description>
		<content:encoded><![CDATA[<p>If you&#8217;re using this, make sure you&#8217;re using the PCNET adapter, otherwise, your VM won&#8217;t start. The commands given are for the PCNET adapter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beau Scott</title>
		<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/#comment-88316</link>
		<dc:creator>Beau Scott</dc:creator>
		<pubDate>Wed, 05 May 2010 16:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://tombuntu.com/?p=1445#comment-88316</guid>
		<description>Excellent post.

This obviously is for host port forwarding, but is there an internal mechanism to VBox that would allow guest port forwarding. In my particular case, I run an app server on my host machine, and then use VMs to replay automated test scripts against that appserver. Accessing the app server (host:8080) is easy and doesn&#039;t require forwarding, but the automated playback tool also runs on the host machine. The clients are executed in the vm and don&#039;t allow host address overriding (hard coded to localhost:XXXX). Is there a way that I can generically instruct the guest vm to forward (guest) localhost:XXXX to host:XXXX thru virtual box, or is that really up to the operating systems of the guests?</description>
		<content:encoded><![CDATA[<p>Excellent post.</p>
<p>This obviously is for host port forwarding, but is there an internal mechanism to VBox that would allow guest port forwarding. In my particular case, I run an app server on my host machine, and then use VMs to replay automated test scripts against that appserver. Accessing the app server (host:8080) is easy and doesn&#8217;t require forwarding, but the automated playback tool also runs on the host machine. The clients are executed in the vm and don&#8217;t allow host address overriding (hard coded to localhost:XXXX). Is there a way that I can generically instruct the guest vm to forward (guest) localhost:XXXX to host:XXXX thru virtual box, or is that really up to the operating systems of the guests?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cài ??t VirtualBox 2.1 trong Ubuntu 8.10</title>
		<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/#comment-83482</link>
		<dc:creator>Cài ??t VirtualBox 2.1 trong Ubuntu 8.10</dc:creator>
		<pubDate>Wed, 24 Mar 2010 05:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://tombuntu.com/?p=1445#comment-83482</guid>
		<description>[...] easier in this release. No setup is required on the host or guest! This makes yesterday’s post on port forwarding though VirtualBox’s NAT a bit less useful now that host interface networking is simple to [...]</description>
		<content:encoded><![CDATA[<p>[...] easier in this release. No setup is required on the host or guest! This makes yesterday’s post on port forwarding though VirtualBox’s NAT a bit less useful now that host interface networking is simple to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alzaf</title>
		<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/#comment-75156</link>
		<dc:creator>Alzaf</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://tombuntu.com/?p=1445#comment-75156</guid>
		<description>I have Ubuntu 8.04 as both host and guest. The only way I could get ssh working is installing openssh-server on both guest and host. 

I also managed to get an apache web server working on guest and could communicate with host. 

To get this working enter the following commands:

VBoxManage setextradata  &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/HostPort&quot; 8080
VBoxManage setextradata  &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/GuestPort&quot; 80
VBoxManage setextradata  &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/Protocol&quot; TCP

Once the apache server is setup on guest, enter the following commands to open ports on iptables

sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT
sudo iptables -A OUTPUT -p tcp --dport 80 -j ACCEPT

To view the web server on host, enter the following command:

firefox &quot;http://localhost:8080&quot;</description>
		<content:encoded><![CDATA[<p>I have Ubuntu 8.04 as both host and guest. The only way I could get ssh working is installing openssh-server on both guest and host. </p>
<p>I also managed to get an apache web server working on guest and could communicate with host. </p>
<p>To get this working enter the following commands:</p>
<p>VBoxManage setextradata  &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/HostPort&#8221; 8080<br />
VBoxManage setextradata  &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/GuestPort&#8221; 80<br />
VBoxManage setextradata  &#8220;VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/Protocol&#8221; TCP</p>
<p>Once the apache server is setup on guest, enter the following commands to open ports on iptables</p>
<p>sudo iptables -A INPUT -p tcp &#8211;dport 80 -j ACCEPT<br />
sudo iptables -A OUTPUT -p tcp &#8211;dport 80 -j ACCEPT</p>
<p>To view the web server on host, enter the following command:</p>
<p>firefox &#8220;http://localhost:8080&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael B</title>
		<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/#comment-66168</link>
		<dc:creator>Michael B</dc:creator>
		<pubDate>Sat, 08 Aug 2009 00:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://tombuntu.com/?p=1445#comment-66168</guid>
		<description>I still can&#039;t get this to work right. I&#039;m on Vista 64 bit, running Ubuntu 9.04 in a VM. the port forwarding is all there but it won&#039;t connect. Checked the windows firewall too.
I wish they would document the VBoxManage thing better. For some reason I had to use VBoxInternal/Devices/e1000/0/Config/ssh/HostPort instead of what you had (notice the e1000 and 0 instead of LUN#0).</description>
		<content:encoded><![CDATA[<p>I still can&#8217;t get this to work right. I&#8217;m on Vista 64 bit, running Ubuntu 9.04 in a VM. the port forwarding is all there but it won&#8217;t connect. Checked the windows firewall too.<br />
I wish they would document the VBoxManage thing better. For some reason I had to use VBoxInternal/Devices/e1000/0/Config/ssh/HostPort instead of what you had (notice the e1000 and 0 instead of LUN#0).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Migrating Microsoft Virtual Server/PC image to VMware Server &#171; Ralf Schäftlein&#8217;s Blog</title>
		<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/#comment-63122</link>
		<dc:creator>Migrating Microsoft Virtual Server/PC image to VMware Server &#171; Ralf Schäftlein&#8217;s Blog</dc:creator>
		<pubDate>Wed, 01 Jul 2009 05:12:27 +0000</pubDate>
		<guid isPermaLink="false">http://tombuntu.com/?p=1445#comment-63122</guid>
		<description>[...] In NAT mode is the vm only accessible via the virtualbox window. You have to define each port manually if you want to access the NAT vm from outside the virtualbox. Typically i use such a vm ubuntu [...]</description>
		<content:encoded><![CDATA[<p>[...] In NAT mode is the vm only accessible via the virtualbox window. You have to define each port manually if you want to access the NAT vm from outside the virtualbox. Typically i use such a vm ubuntu [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Redirecionando portas para VirtualBox. @ Matheus Bratfisch</title>
		<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/#comment-59790</link>
		<dc:creator>Redirecionando portas para VirtualBox. @ Matheus Bratfisch</dc:creator>
		<pubDate>Mon, 18 May 2009 18:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://tombuntu.com/?p=1445#comment-59790</guid>
		<description>[...] Alguns dias atrás estava pensando em rodar serviços dentro de máquinas virtuais. O que me deixava com a pulga atrás da orelha era como eu iria fazer o redirecionamento de portas. Então utilizei o Grande Oraculo e pesquisei durante bastante tempo para conseguir que funcionasse. Utilizei o &#8220;VBoxManage setextradata&#8221;, mas não tive sucesso. Caso você queira tentar, veja como configurar redirecionamento de portas para virtualbox usando VBoxManage. [...]</description>
		<content:encoded><![CDATA[<p>[...] Alguns dias atrás estava pensando em rodar serviços dentro de máquinas virtuais. O que me deixava com a pulga atrás da orelha era como eu iria fazer o redirecionamento de portas. Então utilizei o Grande Oraculo e pesquisei durante bastante tempo para conseguir que funcionasse. Utilizei o &#8220;VBoxManage setextradata&#8221;, mas não tive sucesso. Caso você queira tentar, veja como configurar redirecionamento de portas para virtualbox usando VBoxManage. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virtualbox: Port forwarding/ NAT » picxl.de</title>
		<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/#comment-59322</link>
		<dc:creator>Virtualbox: Port forwarding/ NAT » picxl.de</dc:creator>
		<pubDate>Wed, 13 May 2009 19:34:34 +0000</pubDate>
		<guid isPermaLink="false">http://tombuntu.com/?p=1445#comment-59322</guid>
		<description>[...] Tombuntu - Configure Port Forwarding to a VirtualBox Guest OS [...]</description>
		<content:encoded><![CDATA[<p>[...] Tombuntu &#8211; Configure Port Forwarding to a VirtualBox Guest OS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Configure Port Forwarding to a VirtualBox Guest OS &#124; The Linux Blog : Applications beginner browser canonical codeblocks Command Line compile debian disk space download editor firefix General generate gnome GRAPHICS graphics editors graphics other Howto h</title>
		<link>http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/#comment-54085</link>
		<dc:creator>Configure Port Forwarding to a VirtualBox Guest OS &#124; The Linux Blog : Applications beginner browser canonical codeblocks Command Line compile debian disk space download editor firefix General generate gnome GRAPHICS graphics editors graphics other Howto h</dc:creator>
		<pubDate>Mon, 09 Mar 2009 12:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://tombuntu.com/?p=1445#comment-54085</guid>
		<description>[...] Excerpt from: Configure Port Forwarding to a VirtualBox Guest OS [...]</description>
		<content:encoded><![CDATA[<p>[...] Excerpt from: Configure Port Forwarding to a VirtualBox Guest OS [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

