Rename files
This commit is contained in:
parent
575bcf10ca
commit
2e8cd2b269
@ -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?"
|
||||||
@ -32,3 +33,11 @@ $Params = @{
|
|||||||
}
|
}
|
||||||
|
|
||||||
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