You can use Windows Routing and NAT (via RRAS) Instead of ICS
Instead of using ICS, you can use Routing and Remote Access Service (RRAS) which supports custom IP ranges and is much more flexible.
Steps (summary):
- Open Server Manager or install RRAS by this script bellow:
Install-WindowsFeature -Name RemoteAccess -IncludeManagementTools
Open Routing and Remote Access, configure as:
"Custom configuration"
Enable NAT
Select the NIC connected to the internet for NAT.
Manually assign IP 10.0.0.1/8 to the internal NIC.
- Ensure DHCP is running or assign static IPs in 10.0.0.0/8 range to clients with
10.0.0.1
as default gateway.
Set DNS to 8.8.8.8 or internal DNS server.