fix: routing role corrected
This commit is contained in:
parent
7ed5d2046e
commit
ac6037de08
@ -85,9 +85,12 @@ netsh rout ip rel set int WAN min=0
|
|||||||
netsh routing ip relay add dhcpserver 192.168.8.1
|
netsh routing ip relay add dhcpserver 192.168.8.1
|
||||||
|
|
||||||
### Activating remote-access role
|
### Activating remote-access role
|
||||||
|
echo "installing VPN routing role"
|
||||||
|
Install-windowsFeature -Name Routing -IncludemanagementTools
|
||||||
|
Install-remoteAccess -VpnType Routingonly
|
||||||
set-service RemoteAccess -StartupType Automatic
|
set-service RemoteAccess -StartupType Automatic
|
||||||
Start-Service RemoteAccess
|
Start-Service RemoteAccess
|
||||||
|
|
||||||
#END
|
#END
|
||||||
|
|
||||||
### Activating DHCP Relay (Useless?)
|
### Activating DHCP Relay (Useless?)
|
||||||
|
@ -50,6 +50,7 @@ foreach ($c in Get-NetAdapter) { write-host 'Setting DNS for' $c.interfaceName ;
|
|||||||
### Install VPN (?)
|
### Install VPN (?)
|
||||||
|
|
||||||
echo "installing VPN routing role"
|
echo "installing VPN routing role"
|
||||||
|
Install-windowsFeature -Name Routing -IncludemanagementTools
|
||||||
Install-remoteAccess -VpnType Routingonly
|
Install-remoteAccess -VpnType Routingonly
|
||||||
set-service RemoteAccess -StartupType Automatic
|
set-service RemoteAccess -StartupType Automatic
|
||||||
Start-Service RemoteAccess
|
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
|
### Install Routing and necessary linked roles
|
||||||
|
|
||||||
echo "installing VPN routing role"
|
echo "installing VPN routing role"
|
||||||
|
Install-windowsFeature -Name Routing -IncludemanagementTools
|
||||||
Install-remoteAccess -VpnType Routingonly
|
Install-remoteAccess -VpnType Routingonly
|
||||||
set-service RemoteAccess -StartupType Automatic
|
set-service RemoteAccess -StartupType Automatic
|
||||||
Start-Service RemoteAccess
|
Start-Service RemoteAccess
|
||||||
|
Loading…
Reference in New Issue
Block a user