Rename files
This commit is contained in:
parent
bbdaaca5eb
commit
47ca1522d8
@ -2,6 +2,7 @@
|
|||||||
# GPLv3
|
# GPLv3
|
||||||
|
|
||||||
# Script to install and configure a Fuckdows Server 2016 as a router
|
# Script to install and configure a Fuckdows Server 2016 as a router
|
||||||
|
# RTR-01 Only
|
||||||
|
|
||||||
# Change the poor machine name
|
# Change the poor machine name
|
||||||
$name = Read-host "Nouveau nom d'hôte?"
|
$name = Read-host "Nouveau nom d'hôte?"
|
||||||
@ -31,4 +32,12 @@ $Params = @{
|
|||||||
"Action" = 'Allow'
|
"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
|
Loading…
Reference in New Issue
Block a user