Skip to content

britto18/day-4-Internship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Day-4 Internship

Task 4: Setup and Use a Firewall on Linux (Using UFW)

1. Opened Terminal and Checked UFW Status

sudo ufw status verbose

2. Added a Rule to Block Port 23 (Telnet)

sudo ufw deny 23
  • This blocked inbound connections on port 23.

3. Tested the Block Rule

telnet localhost 23
  • The connection was refused, confirming the firewall was working as intended.

4. Removed the Block Rule to Restore Original State

sudo ufw delete deny 23
  • Cleaned up the test rule.

5. Verified Firewall Rules for Deliverable

sudo ufw status numbered
  • Took a screenshot of this output as required.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published