Port Forwarding only for one Network Card

Discussions related to using VirtualBox on Windows hosts.
Post Reply
DerZeitspringer
Posts: 1
Joined: 12. Nov 2009, 09:35
Primary OS: MS Windows 2003
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu

Port Forwarding only for one Network Card

Post by DerZeitspringer »

Hi Folks,

i've got a problem.

I have a Windows 2008 Server with 3 Network Cards, with a Ubuntu Server running in VirtualBox 3.0.10.
I enabled port forwarding for 2 ports from the host to the guest. These ports are now opened on each Network Card, but i just want to have it open on only one Network Card.
Unfortunately i found nothing at google or in this forum... Can anybody help me?

Thanks and
Best regards

Martin
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Port Forwarding only for one Network Card

Post by Sasquatch »

NAT port forwarding makes the port available on every NIC on the Host. If you want the VM to listen to only one NIC, use Bridged.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply