34 C
Thursday, May 23, 2024

Windows 2012 R2 as a Router – Connect your LAB to Internet

Have a Small lab Server with Test Environment with my own fancy IP Range

Thought of Connecting my LAB to internet without changing my IP range.

Got a Windows Server 2012 R2 Machine UP Joined to my Test Domain.


Start – Server Manager – Add Roles and Features

Server Roles – Remote Access


Choose Routing –




Configure and Enable Routing and Remote Access


Choose Network Address Translation.


Now Internet NIC is my DHCP Range which is connected to Public Internet.

Primary is my LAB environment.


Next and Finish.

Now go to test machine – change the gateway to your Windows Server 2012 R2 Router.

If you don’t have a domain put the DNS server IP as some public DNS Servers. As I have configured Public DNS in the Active Directory – DNS Forwarders in my case.


In my Test Domain DNS Server Properties added the Public DNS Range. Now my test environment has internet to play around.


Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles


Please enter your comment!
Please enter your name here

× How can I help you?