Page 1 of 1

Please explain port forwarding to Guest OS

Posted: 19. Sep 2008, 13:05
by stinkyjak
I can't find this anywhere. I see similar questions but they have no response.

I want to be able to forward whatever port I like to the guest OS. How and where do I set this up. Lets say I have a server on box 1 being forwarded all traffic on port:80 and a server on box 2 receiving traffic on port:8080. If my quest is hosted on box 2 how would I forward to port 10080 to the guest OS.

Do I have my router still forward 10080 to box 2 and if so, where do I go from there? Guest OS server is listening on 10080.

Yes it is http, but I will be setting up more than just http.


Re: Please explain port forwarding to Guest OS

Posted: 19. Sep 2008, 13:56
by greenpossum
stinkyjak wrote: I want to be able to forward whatever port I like to the guest OS. How and where do I set this up. Lets say I have a server on box 1 being forwarded all traffic on port:80 and a server on box 2 receiving traffic on port:8080. If my quest is hosted on box 2 how would I forward to port 10080 to the guest OS.

Do I have my router still forward 10080 to box 2 and if so, where do I go from there? Guest OS server is listening on 10080.
When the forwarding is active it's as if box2 had a process listening on port 8080 which actually goes to the guest OS at port 8080. Quite similar to portforwarding on a LAN if you like. So if you wish this guest service to be visible from outside your LAN you have to set up a portforwarding at the router at 10080 external going to box2 port 8080. Naturally this assumes that box2 8080 doesn't already have something running at 8080. If so then you'll just have to choose another port.

I won't explain the instructions for setting up the forwarding, since this is all in the fine documentation.