From 664781e5f9879b516a46839ee1b415e5a10348c9 Mon Sep 17 00:00:00 2001 From: Winston Smith Date: Fri, 9 Apr 2021 11:48:13 +0200 Subject: [PATCH] Add route for SRV-01 --- SRV-01_DHCP.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/SRV-01_DHCP.ps1 b/SRV-01_DHCP.ps1 index a25932e..59acb9a 100644 --- a/SRV-01_DHCP.ps1 +++ b/SRV-01_DHCP.ps1 @@ -64,4 +64,11 @@ $Params = @{ "Action" = 'Allow' } -Set-NetFirewallRule @Params \ No newline at end of file +Set-NetFirewallRule @Params + +# Add routes +route add -p 192.168.12.0/24 192.168.8.254 +route add -p 192.168.255.0/24 192.168.8.254 +route add -p 192.168.128.0/24 192.168.8.254 +route add -p 192.168.8.0/24 192.168.8.2 +route add -p 0.0.0.0/0 192.168.8.254 \ No newline at end of file