Rename files

This commit is contained in:
Winston Smith 2021-04-09 11:43:46 +02:00
parent bbdaaca5eb
commit 47ca1522d8
2 changed files with 10 additions and 1 deletions

View File

@ -2,6 +2,7 @@
# GPLv3
# Script to install and configure a Fuckdows Server 2016 as a router
# RTR-01 Only
# Change the poor machine name
$name = Read-host "Nouveau nom d'hôte?"
@ -31,4 +32,12 @@ $Params = @{
"Action" = 'Allow'
}
Set-NetFirewallRule @Params
Set-NetFirewallRule @Params
# Add routes
route add -p 192.168.8.0/24 192.168.8.254
route add -p 192.168.12.0.24 192.168.12.254
route add -p 192.168.255.0/24 192.168.255.8
route add -p 192.168.128.8/24 192.168.255.128
route add -p 0.0.0.0/0 192.168.255.0