If i have 10 virtual machines and 5 machines inside a gateway of How can i make all of the respective machines visible publically with all ports?

Currently i have a Virgin Superhub 3. I can only forward external port to an internal single machine per port.

What are my options here?


Port forwarding can not do this. Port forwarding is a 1 to 1 relationship.

If you want all 10 (15?) Machines to be accessible from outside the gateway, you will have to set up routing.

Edit: adding for OP comments.

Port Forwarding sets up a rule that takes traffic arriving at a single IP and forwards it to a different IP. For example, if the router has an external IP of and in internal IP (which acts as the gateway for the internal network) of, you would setup Port Forwarding for 80/tcp to go from to, say,

Then, when traffic arrives at, the router will forward the traffic to, the internal machine at that address. You cannot forward to every internal IP and expect it to work. They would all receive the traffic and reply to the router.

If you want to expose all ports on all machines inside your network to the external (Internet?) network, each machine would require a public/routable IP address connected directly to the internet/external network.

It sounds like your Virgin Super 3 is providing Network Address Translation (NAT) for the internal machines. Wikipedia: Network Address Translation

This works fine for client machines that are initiating outbound connections to existing services. To provide a service from your internal network facing outward, you either have to use a routable address for the server/service, or use a solution like Port Forwarding which only works for one internal address per port.

|improve this answer|||||
  • In what respect. "Routing" is very vague. – Derple Apr 10 '17 at 18:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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