2.
b) Run the following commands in Linux shell / DOS prompt and show the output-
a. Explore firewall settings on your PC
Block or allow programs accessing internet using Windows Firewall
For example- I am going to block the internet access to Google Chrome
Step 1: Open Windows Defender Firewall with Advanced Security
Step 2: Click on Inbound rules
Step3: Click on New Rule highlighted in yellow
Step4: Now select Program button and click next
Step5: Here we browse the location of the exe file which one we are going to
block (for ex- Chrome)
Step6: Here we choose “Block the connection” radio button and click next
Step7: Leave the below options by default and click next
Step8: Give a name to the rule. Description field is optional
Tip: give the program name to easily remember for later purposes
Step9: Repeat the same steps followed in Inbound rules for Outbound rules
Step 10: To unblock the access we will click on “Disable Rule” and the .exe file
will be enabled
b. ipconfig
c. ping
d. traceroute/tracert
e. nestat
f. route
g. telnet
h. ftp
i. nslookup
j. arp