Revert "Chore: change Firewall rule SRV-01"
This reverts commit 3f26aee7da
.
This commit is contained in:
parent
856f4dceeb
commit
5b8ed1790b
@ -67,6 +67,16 @@ Start-Service RemoteAccess
|
|||||||
|
|
||||||
# End of scritlet
|
# End of scritlet
|
||||||
|
|
||||||
|
|
||||||
|
### 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
|
||||||
|
|
||||||
### Activate NAT and DHCP Relay ###
|
### Activate NAT and DHCP Relay ###
|
||||||
|
|
||||||
echo "Activating NAT and DHCP Relay"
|
echo "Activating NAT and DHCP Relay"
|
||||||
|
@ -92,11 +92,16 @@ Add-DhcpServerv4ExclusionRange -ScopeID 192.168.128.0 -StartRange 192.168.128.1
|
|||||||
Add-DhcpServerv4ExclusionRange -ScopeID 192.168.128.0 -StartRange 192.168.128.240 -EndRange 192.168.128.254
|
Add-DhcpServerv4ExclusionRange -ScopeID 192.168.128.0 -StartRange 192.168.128.240 -EndRange 192.168.128.254
|
||||||
#END
|
#END
|
||||||
|
|
||||||
### Change ZoneAlarm rule to accept incoming ICMP ipv4 probes ###
|
### Change ZoneAlarm rule to accept incoming ICMP ipv4 probes
|
||||||
|
|
||||||
Get-NetFirewallRule -name "*ICMP4-ERQ-In*" | Enable-NetFirewallRule
|
echo "Allowing ICMPv4 probes"
|
||||||
|
$Params = @{
|
||||||
|
"Name" = 'vm-monitoring-icmpv4'
|
||||||
|
"Action" = 'Allow'
|
||||||
|
}
|
||||||
|
|
||||||
#END
|
Set-NetFirewallRule @Params
|
||||||
|
# END
|
||||||
|
|
||||||
### Add routes for RTR-01
|
### Add routes for RTR-01
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user