O'Reilly logo

Hyper-V Network Virtualization Cookbook by Ryan Boud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Network Address Translation with the gateway

In Chapter 3, Creating the Gateway for Virtual Machine Communications, you created a Windows Server Gateway so that VMs could access resources outside of the VM Network they resided upon. This access was only one way: outbound; this recipe will show you how to create inbound NAT rules on the gateway to allow access to your VM's resources. A typical use case of this would be to host a website behind a public IP address.

In this recipe, you will create a simple web server and publish it using NAT rules on the Windows Server Gateway.

Getting ready

For this recipe, you will need access to a computer that is outside of the VM Networks created so far, but it can access the IP range you used for the external ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required