fix: routing role corrected

This commit is contained in:
Winston Smith 2021-05-10 12:48:32 +02:00
parent 7ed5d2046e
commit ac6037de08
3 changed files with 6 additions and 1 deletions

View File

@ -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?)

View File

@ -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

View File

@ -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