0% found this document useful (0 votes)
45 views

B) Run The Following Commands in Linux Shell / DOS Prompt and Show The Output

The document provides steps to block or allow programs from accessing the internet using Windows Firewall on a PC. It lists 10 common Linux/DOS commands and their functions: ipconfig, ping, traceroute/tracert, netstat, route, telnet, ftp, nslookup, arp. The steps include opening Windows Defender, adding inbound and outbound rules to block programs, and disabling rules to unblock programs.

Uploaded by

Abhash Jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

B) Run The Following Commands in Linux Shell / DOS Prompt and Show The Output

The document provides steps to block or allow programs from accessing the internet using Windows Firewall on a PC. It lists 10 common Linux/DOS commands and their functions: ipconfig, ping, traceroute/tracert, netstat, route, telnet, ftp, nslookup, arp. The steps include opening Windows Defender, adding inbound and outbound rules to block programs, and disabling rules to unblock programs.

Uploaded by

Abhash Jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

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

You might also like