fix: routing role corrected
This commit is contained in:
parent
b26d2a4aaf
commit
4c1ba458a7
@ -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?)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user