diff --git a/Guests/RTR-01.ps1 b/Guests/RTR-01.ps1 index 0706fbd..c9adaff 100644 --- a/Guests/RTR-01.ps1 +++ b/Guests/RTR-01.ps1 @@ -85,9 +85,12 @@ netsh rout ip rel set int WAN min=0 netsh routing ip relay add dhcpserver 192.168.8.1 ### Activating remote-access role - +echo "installing VPN routing role" +Install-windowsFeature -Name Routing -IncludemanagementTools +Install-remoteAccess -VpnType Routingonly set-service RemoteAccess -StartupType Automatic Start-Service RemoteAccess + #END ### Activating DHCP Relay (Useless?) diff --git a/Guests/RTR-02.ps1 b/Guests/RTR-02.ps1 index 9b6c3fd..28391ef 100644 --- a/Guests/RTR-02.ps1 +++ b/Guests/RTR-02.ps1 @@ -50,6 +50,7 @@ foreach ($c in Get-NetAdapter) { write-host 'Setting DNS for' $c.interfaceName ; ### Install VPN (?) echo "installing VPN routing role" +Install-windowsFeature -Name Routing -IncludemanagementTools Install-remoteAccess -VpnType Routingonly set-service RemoteAccess -StartupType Automatic Start-Service RemoteAccess diff --git a/Guests/RTR-03.ps1 b/Guests/RTR-03.ps1 index 66871a2..7f588f1 100644 --- a/Guests/RTR-03.ps1 +++ b/Guests/RTR-03.ps1 @@ -51,6 +51,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