We have a number of lab setups that require the VMs to be on their own Private Network in Hyper-V but still have access to the Internet.
In some cases we need to have access to that private network and the VMs just as we would a product network.
In comes Windows Server 2008 R2 SP1. We set up the VM with two vNICs. One is connected to the Private Network while the other is connected to the Internet via our internal production network (gives us quick access to the lab VMs).
- We install the OS
- Install Integration Services.
- Install the Network Policy and Access Services Role.
- Run the Configure and Enable Routing and Remote Access.
- Choose VPN and NAT
- Set the WAN connection.
- Allow DHCP to be set automatically.
- No RADIUS for authentication
- Click OK to the DHCP Relay warning.
We now have an internal router that will allow the VMs on the Private Network to reach out to the Internet.
Finally, to publish internal services via the WAN connection:
- Click on NAT under IPv4
- Right click on the WAN Interface in the centre pane and click Properties.
- Click on HTTPS (443) and a window pops up.
- Enter the IP address of the server hosting HTTPS and click OK.
- Tick the check to the left of HTTPS and then click Apply (if it did not do so).
- Repeat for the needed published services.
- Test the connections:
In the end, it should take no more than 20 minutes to have the first router configured.
Philip Elder
MPECS Inc.
Microsoft Small Business Specialists
Co-Author: SBS 2008 Blueprint Book
No comments:
Post a Comment