You are on page 1of 3

Experiment Number: 4

Student Name: Mayank Verma UID: 20BCS3551


Branch: CSE-IS Section & Group: 20BIS1-A
Semester: 5th Date: 01/09/2022
Course Name: Network Defense Essentials Lab Course Code: 20CSB-331

1. Aim/Overview of the practical: To remove and provide access to various domains.

2. Task to be done: Take and give access to domains and webpages on a particular system
using Linux based commands.

3. Procedure:
Iptables: Iptables is a Linux command line firewall that allows system administrators to
manage incoming and outgoing traffic via a set of configurable table rules. Iptables uses a set
of tables which have chains that contain set of built-in or user defined rules. In Linux
terminal type the command sudo iptables -L -n -v (if you are working in root terminal just
type iptables -L -n -v)
If we want to drop or remove a site access on our system we will use DROP command after
doing chaining and providing name of the website or domain name.

When we remove that site access and we try to open it on our system it will not load and after
some time it will show message as server not responding.

To again grant the permission to access the website we need to change the keyword DROP
with ACCEPT.
After providing access we can check that the website start working again on our system
properly.

Learning Outcomes:

• Learned about granting and blocking access to domains using Linux based
commands.
• Learned about different commands of iptables in Linux
• Practical implementation of the concept on our systems.

Evaluation Grid (Created as per the Assessment Model):

Sr. No. Parameters Marks Obtained Maximum Marks


1. Worksheet completion 8
2. Conduct of Experiment 12
3. Quiz/Viva Voce 10
Total 30

You might also like