The lab environment is isolated from my home network, but I want to allow them to be able to access the internets for updates and stuff. Normally I would do this with pfSense as gateway.
I will make a howto on that another time.
- https://www.pfsense.org/
This time am gonna turn my Domain Controller to a router/gateway to the Internet.
Prerequistes:
- Windows 2012 R2
- 2 Physical or Virtual NICs
From Server Manage > Add Roles and Features.
One the Before you begin page, click Next.
Select Role-based or feature-based installation and click Next.
Select destionation server click Next.
Select the Remote Access and click Next.
Click on Add Features. Click Next.
On Role Service click the Routing checkbox. Click Next.
On the Confirm installation selections click Install.
The Feature has now been added to Windows. A reboot is not necessary for this process so we will now proceed to the configuration part.
Right-click on the server name and click Configure and Enable Routing and Remote Access.
The Routing and Remote Access Server Setup Wizard appears. Click Next.
On the Configuration page select Network Address Translation (NAT).
Before we click Next we need to add another Network Adapter to the server.
Click on the Edit vittual mashine settings
On the Hardware tab press Add...
Select Network Adapter and click Next.
Select Custom: Specific virtual network - VMnet0 (Auto-bridging) - Finish
Back to the Server.
Under : Control Panel\Network and Internet\Network Connections
Rename the new network adapter to Internet.
The internal network adapter is named LAN here.
Now you can press Next
Select the Internet as the interface to the Internet and click Next > Finish
Windows is now configured as a router with a privat network and an external network connected.
Now that i have a Router I have enable this in my DHCP - Lab scope
That's it - and we are now able to access the whole wide web.
- Building a VMware Workstation Homelab - Part 01: Introduction
- Building a VMware Workstation Homelab - Part 02: VMware Workstation 11
- Building a VMware Workstation Homelab - Part 03: Base Template
- Building a VMware Workstation Homelab - Part 04: Prepare the Template for Clones
- Building a VMware Workstation Homelab - Part 05: Domain Controller
- Building a VMware Workstation Homelab - Part 06: Gateway to the Internet
- Building a VMware Workstation Homelab - Part 07: Mail Server - Exchange 2010 SP2 on Windows 2012 R2
No comments:
Post a Comment