Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to forward some ports (specifically TCP 22, UDP 1194, TCP 80, TCP 443) from a Windows Server 2003 to a Linux VM running inside VirtualBox on the same machine. Is there an easy and reliable way to do that? Currently the VM is on a bridged network with the server and should remain accessible from outside (LAN) on all other ports.

share|improve this question

Found a solution myself:

Changed network settings to NAT in Virtualbox and use builtin feature to tunnel arbitrary ports to the VM. This has the drawback, that the VM can't log any IPs (as NAT prevents that) and other than the specified ports are not available any more, but as you can specify as much as you want, it's not a showstopper for me.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.