fix: routing role install

This commit is contained in:
Winston Smith 2021-05-10 17:31:19 +02:00
parent 0a264f984b
commit 4862a27b8c

View File

@ -61,6 +61,7 @@ foreach ($c in Get-NetAdapter) { write-host 'Setting DNS for' $c.interfaceName ;
### Install Routing and necessary linked roles ###
echo "installing VPN routing role"
Install-windowsFeature -Name Routing -IncludemanagementTools
Install-remoteAccess -VpnType Routingonly
set-service RemoteAccess -StartupType Automatic
Start-Service RemoteAccess