To allow a Windows Server server to act as a router, you must install the NAT system (to translate private IP addresses (local) to Internet IP) and network routing system for ports forwarding.
Unlike Windows Server 2008, under Windows Server 2012, these features can be found in the "Remote Access" role.
Select "Remote Access".
As indicated at the end of this description, you can configure the routing functionality by using the Remote Access console.
Note : The feature "DirectAccess and VPN (Remote Access)" is a dependency of the "Routing" functionality.
At the end of the installation, click on the "Open the Getting Started Wizard" link.
Then, click "Deploy VPN only" to open the "Routing and Remote Access" console that was also present in previous versions of Windows Server.
In the "Routing and Remote Access" window, right click on your server name and click "Configure and Enable Routing and Remote Access."
Select "Custom Setup".
Select "NAT" and "Network Routing".
The wizard displays a summary of the configuration.
Click "Start Service".
Once the service is started, go to "IPv4 -> NAT", right click on the right side and click on "New interface".
Select the network adapter connected to the Internet.
Select "Public interface connected to the Internet" and check "Enable NAT on this interface".
Now, add the interface connected to the private network.
Select the network adapter connected to the private network.
Note : Be careful, don't confuse it with the "Internal" interface that doesn't really exist.
Select "Private interface connected to the private network".
Now that your router is configured, we will configure the router option of our DHCP server.
Note : Set this option in the server options or scope options according to your case
Enter the IP address in the "003 router" option and click "Add".
Thus, clients will receive our IP address as the default gateway. The router that they must use to access the Internet.
On the client computer connected to the switch (private network), you see that it has received an IP address from our DHCP server and the IP address of the default gateway corresponds to the IP address of our server (which acts as a router).
Note : If your client computer doesn't have Internet access, check that :
Windows Server 4/28/2012
Windows Server 8/8/2012
Windows Server 12/9/2016
Windows Server 11/23/2017
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2020 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.