Configuring RRAS NAT with PowerShell

T

Tony D Gedge

I have a Windows Server 2016 instance which I want to configure as a RRAS NAT bridge using PowerShell not the GUI.

How do you configure RRAS NAT without the GUI??

The documentation I can find suggests to install NAT using:

<tt>Install-RemoteAccess -VPNType RoutingOnly</tt>


But how do you configure NAT?

If you open the RRAS GUI after doing the above it says "Legacy mode is disabled" and to use the RemoteAccess cmdlets to configure RRAS. The only problem is there aren't any RemoteAccess cmdlets that configure NAT.

NetNat appears to be the cmdlets for NAT configuration, but I can't get them to work in a VM. All the examples I can find are for setting up NAT in Hyper-V, which is not relevant in this situation.

Any ideas?.

Continue reading...
 
Back
Top Bottom