Quality Of Life changes
To have MAXIMUM optimization when doing the lab
Firewall
netsh advfirewall show allprofiles
netsh advfirewall set allprofiles state off
#Add a route to the IP you want
route add <IP_YOU_WANT_TO_ACCESS> MASK 255.255.255.255 <YOUR_GATEWAY>
route add 172.16.3.11 MASK 255.255.255.255 172.16.100.254Firewall Rules
netsh advfirewall firewall add rule name="Allow Traffic from 172.16.3.11" `
dir=in action=allow `
remoteip=172.16.3.11 `
protocol=TCP `
profile=any `
description="Allow incoming traffic from 172.16.3.11"New-NetFirewallRule -DisplayName "Allow Traffic from 172.16.3.11" `
-Direction Inbound `
-Action Allow `
-RemoteAddress 172.16.3.11 `
-Protocol TCP `
-Profile Any `
-Enabled True `
-Description "Allow incoming traffic from 172.16.3.11"Disabling AV
AMSI
Enabling WinRM, WMIEXEC, SMB
Last updated