fix: routing role install

This commit is contained in:
Alexandre S 2021-05-10 17:31:19 +02:00
parent 1bb6a1c92d
commit d04a3de671
1 changed files with 1 additions and 0 deletions

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