Bridged Networking No Port Forwarding?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
TheMisero
Posts: 2
Joined: 22. Nov 2014, 00:05

Bridged Networking No Port Forwarding?

Post by TheMisero »

I'm trying to set up a server on virtualbox, therefore I need Bridged Networking, and it will only allow port forwarding for NAT, not bridged networking. Help?
ww9rivers
Posts: 32
Joined: 9. May 2008, 16:39

Re: Bridged Networking No Port Forwarding?

Post by ww9rivers »

If you use Bridged Networking, then you shouldn't need port forwarding, sine your guest VM would be on your LAN directly.

Or, are you talking about port forwarding for access from outside your local network?
TheMisero
Posts: 2
Joined: 22. Nov 2014, 00:05

Re: Bridged Networking No Port Forwarding?

Post by TheMisero »

Yes, I am. I want someboyd in for example Canada to be able to connect to my server.
ww9rivers
Posts: 32
Joined: 9. May 2008, 16:39

Re: Bridged Networking No Port Forwarding?

Post by ww9rivers »

TheMisero wrote:Yes, I am. I want someboyd in for example Canada to be able to connect to my server.
Then you need to setup port forwarding outside your server, which has nothing to do with VirtualBox.

What is your local network environment like?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Bridged Networking No Port Forwarding?

Post by mpack »

TheMisero wrote:I'm trying to set up a server on virtualbox, therefore I need Bridged Networking, and it will only allow port forwarding for NAT, not bridged networking. Help?
Bridged networking means you already get all the TCP ports that the host could have - and in fact all other network traffic too, so the concept of port forwarding from the host is redundant. Obviously the VM has no ability to "forward" packets it doesn't have.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Bridged Networking No Port Forwarding?

Post by scottgus1 »

Misero, As the other guys have said, since you have set your server guest to Bridged, you have everything that your host PC can get, because the guest server is on the same network as the host PC is.

Most folks have a modem/router or some such device to connect their PC to the internet. If you do too, you'll have to get into that device's settings to do the port forwarding you require. The manufacturer of that equipment will have instructions on how to do so.
Post Reply