School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,476 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,745 people online right now. Registration is fast and FREE... Join Now!




Port forwarding a Virtual Machine

 

Port forwarding a Virtual Machine

farril

2 Jun, 2009 - 01:14 PM
Post #1

D.I.C Head
**

Joined: 4 Mar, 2009
Posts: 65

Hi there. ive got another port forwarding problem.

Im running a vista 64bit, and have installed microsoft virtual server 2007 with xp loaded on to it.

I running a server which needs ports 7000, 7100 and 7200 forwarded.

how do i go about forwarding these ports on my virtual machine, so i can run clients from my vista os, and also allow people to access it externally (not neccessary but wld b nice)

the virtual adapter im using is set to NAT, and it allows me to connect my virtual machine to the internet instantly.

but the ip which my virtual machine is using isnt allowed to be forwarded (probably because its going through my vista os ip)

the virtual machine's ip is 192.168.131.65 internal, and 87.xxx.xx.xx external

any help on solving this would be great.

User is offlineProfile CardPM
+Quote Post


no2pencil

RE: Port Forwarding A Virtual Machine

2 Jun, 2009 - 07:02 PM
Post #2

i R L33t Skiddie, k?
Group Icon

Joined: 10 May, 2007
Posts: 13,234



Thanked: 289 times
Dream Kudos: 2875
Expert In: Goofing Off

My Contributions
QUOTE(farril @ 2 Jun, 2009 - 03:14 PM) *

I running a server which needs ports 7000, 7100 and 7200 forwarded.

how do i go about forwarding these ports on my virtual machine

the virtual machine's ip is 192.168.131.65 internal, and 87.xxx.xx.xx external


Log onto the GUI of your router, & forward the defined ports to the internet ip address of 192.168.131.65, then on the client Virtual Machine, make certain that any firewall or security software will allow those ports to remain open, allowing connection requests to come in. Really, no different. As long as your VM has it's own ip on the subnet, you would treat it the same.

User is online!Profile CardPM
+Quote Post

farril

RE: Port Forwarding A Virtual Machine

3 Jun, 2009 - 02:25 AM
Post #3

D.I.C Head
**

Joined: 4 Mar, 2009
Posts: 65

ive just realised that my vm has that same external ip as the actual machine.

ive tried forwarding the ports to 192.168.131.65, but my router says its not a valid ip. ive also tried port forwarding them to my actual computers ip (192.168.0.2) but that didnt work either.

theres no firewall on my vm, and the firewall on my actual machine should be allowing them through.
User is offlineProfile CardPM
+Quote Post

DingleNutZ

RE: Port Forwarding A Virtual Machine

3 Jun, 2009 - 06:59 PM
Post #4

D.I.C Head
**

Joined: 2 May, 2009
Posts: 113



Thanked: 1 times
My Contributions
then change the ip, or if its set to dhcp then just release new addreses
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic

Time is now: 11/8/09 03:32AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month