VirtualBox + Windows 2003 Server + LAN != working;

So I wanted to setup a Windows 2003 Development virtual machine instance using VirtualBox on my notebook and then have the ability to get to that server from the network. Well it seems that VirtualBox is not real intuitive about handling this setup. Seems that the VirtualBox Guest NAT only does that; NAT’s the outbound traffic from the VM via the Host network adapter and does not allow any inbound packets (not stateful NAT requests) to get back to the VM’s NIC.

So after much toiling around on the VirtualBox forums I found the answer, you can setup a port forward on the host machine to send the particular port traffic to the VM NIC. This is, for some odd reason I must say, is not done via the VirtualBox GUI but via the commandline tool ‘C:\Program Files\innotek VirtualBox\VBoxManage.exe’.

So let’s say you have a VM instance named ‘Win2003Dev’ and you want to send Subversion (port 3690) traffic to/from that VM you would perform this:

  • Close VirtualBox (this requires lock write to the VirtualBox.XML file), if running
  • Open up a command line console (if using Vista you should use  Start -> cmd -> CTRL+SHIFT+ENTER)
  • Enter these three lines (one at a time, doh!):
    VBoxManage setextradata "Win2003Dev" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/svn/Protocol" TCP
    VBoxManage setextradata "Win2003Dev" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/svn/GuestPort" 3690
    VBoxManage setextradata "Win2003Dev" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/svn/HostPort" 3690	
  • Note: The ‘svn’ I used in the lines is just something I picked, it seems you can use ‘hot-potato’ if you like. I thought something logical would make most sense.

Enjoy!

Blog entry via Windows Live Writer

So this post is coming straight from Windows Live Writer.

So far its an impressive piece of software, wonder how well this is going to work. I installed a couple of Plug-ins; Insert Polaroid, Insert Code, Paste from Visual Studio and Text Template.

Lets test some stuff out;

  • A Slashdot Link (should pop new window).
  • A small Icon Image (should be transparent PNG) -> agt_action_success
  • How about some HTML Code:
         1:  <html>
         2:  <body>
         3:  This is some HTML Code
         4:  </body>
         5:  </html>

       
  • And now a quote:
    • "Software is like sex: it’s better when it’s free" – Linux Torvalds

Very, very cool.

Favorite Wallpaper (via Lightbox)

I was wondering how this Lightbox extension for BlogEngine works.

Here is my current favorite wallpaper, (clicky pops 1280×1024).

A New Years Sunset  

 

<a rel="lightbox" href="path_to_image_to_pop" title="popup_title"><img src="path_to_thumbnail"></a>

It’s a blog eat blog world.

A blog? Why you ask?

Well its not meant to be a point of social discussion, or my witty rant's on my conspiracy theories. No, not so much. The intent of this feature filled experience is to basically document my experiences in technology, yes I use the word 'experiences' very loosely. My adventures, dis-adventures, wins, losses and throw-the-damn-thing-out-the-window experiences.

Bottomline, this is meant as a place where I can document things I experiment with hopefully to help me remember what I did to get it working in the first place.

Ramblings of an often confused opinionated yak shaver.