Routing feature can be enabled on Windows Server and in this article we will learn how to configure routing on Windows Server 2012 R2.
There are few prerequisites which includes
• Windows Server 2012 R2
• Your domain controller should have 2 different NICs either physical or virtual
• Static IP’s on both NIC and both should be connected with different internet connections.
Open the server manager click Manage and then click Add role and feature.
It will open Add Role and Feature wizard’s first window click next.
Select role based or featured based installation and click next.
On Server Selection select the server you want to install the feature on and click next.
Select remote access in the list of server roles and click next.
Click next couple of times, select routing on role selection window and click next.
Click on Add features on the next window.
Click next couple of thrice and then finally click Install on the confirmation window.
After the installation either click on “open the getting started windows” or open tools and select Routing and remote access to get the below-mentioned window.
Right-click on the server name and click configure and enable routing and remote access.
Click next and on the afterward window select the Network address translation (NAT) option
Click next and select that NIC which is connected to the internet. Click next and we will need to select to have RRAS provide DHCP and DNS forwarding or otherwise select that we will set up DHCP and DNS on our network later if needed.
Choose the second option of “I will setup name and address services later”. Click next and then click finish.
Congratulations as windows server is now configured as a router with both private and external network connected.