The Wayback Machine - https://web.archive.org/web/20240630104412/https://www.geeksforgeeks.org/basic-firewall-configuration-in-cisco-packet-tracer/
Open In App

Basic Firewall Configuration in Cisco Packet Tracer

Last Updated : 30 Jun, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Prerequisite: Firewall

A firewall is a hardware or software network security device that monitors all incoming and outgoing traffic based on a defined set of security rules, it accepts, rejects, or drops that specific traffic. 

  • Accept: Allow traffic.
  • Reject: Block traffic but respond with “reachable error”.
  • Drop: Block unanswered traffic firewall establishes a barrier between secure internal networks and untrusted external networks, such as the Internet.

Steps to Configure and Verify Firewall in Cisco Packet Tracer:

Step 1: First, open the Cisco packet tracer desktop and select the devices given below:

S.NO Device Model Name Quantity
1. PC PC 3
2. server PT-Server 1
3. switch PT-Switch 1

IP Addressing Table:

S.NO Device IPv4 Address Subnet Mask
1. Server 1.0.0.1 255.0.0.0
2. PC0 1.0.0.2 255.0.0.0
3. PC1 1.0.0.3 255.0.0.0
4. PC2 1.0.0.4 255.0.0.0
  • Then, create a network topology as shown below the image.
  • Use an Automatic connecting cable to connect the devices with others.

 

Step 2: Configure the PCs (hosts) and server with IPv4 address and Subnet Mask according to the IP addressing table given above.

  • To assign an IP address in PC0, click on PC0.
  • Then, go to desktop and then IP configuration and there you will IPv4 configuration.
  • Fill IPv4 address and subnet mask.
  • Repeat the same procedure with the server

 

  • Assigning an IP address using the ipconfig command, or we can also assign an IP address with the help of a command.
  • Go to the command terminal of the PC.
  • Then, type iPConfig <IPv4 address><subnet mask><default gateway>(if needed)
Example: ipconfig 1.0.0.2 255.0.0.0

 

  • Repeat the same procedure with other PCs to configure them thoroughly.

Step 3: Configuring the firewall in a server and blocking packets and allowing web browser.

  • Click on server0 then go to the desktop.
  • Then click on firewall IPv4.
  • Turn on the services.
  • First, Deny the ICMP protocol and set remote IP to 0.0.0.0 and Remote wildcard mask to 255.255.255.255.
  • Then, allow the IP protocol and set remote IP to 0.0.0.0 and Remote wildcard mask to 255.255.255.255.
  • And add them.

 

Step 4:  Verifying the network by pinging the IP address of any PC.

  • We will use the ping command to do so.
  • First, click on PC2 then Go to the command prompt.
  • Then type ping <IP address of targeted node>.
  • We will ping the IP address of the server0.
  • As we can see in the below image we are getting no replies which means the packets are blocked.

 

Check the web browser by entering the IP address in the URL.

  • Click on PC2 and go to desktop then web browser.

 



Similar Reads

RIP Routing Configuration Using 3 Routers in Cisco Packet Tracer
Pre-Requisite: Routing Information Protocol (RIP) Routing Information Protocol (RIP) is an active routing protocol that operates hop count as a routing metric to find the most suitable route between the source and the destination network. It is a distance-vector routing protocol that has an AD value of 120 and works on the Network layer of the OSI
3 min read
Connecting Multiple Computers Using Hub in Cisco Packet Tracer
Cisco Packet Tracer is a tool built by Cisco and it provides network simulation to practice simple and complex networks. The main purpose of Cisco Packet Tracer is to help students learn the principles of networking and demonstrate the networking concepts. Connecting Multiple Computers Using Hub in Cisco Packet TracerStep 1: Open the Cisco Packet T
2 min read
Small Organization Set Up in CISCO Packet Tracer
Cisco Packet Tracer is a tool built by Cisco and it provides network simulation to practice simple and complex networks. The main purpose of the Cisco Packet Tracer is to help students learn the principles of networking and demonstrate the networking concepts. Step 1: Open the Cisco Packet Tracer. Step 2.: After opening the Cisco Packet tracer, add
3 min read
Implementing Star Topology using Cisco Packet Tracer
A star topology for a Local Area Network (LAN) is one in which each node is connected to a central connection point, such as a hub or switch. Whenever a node tries to connect with another node then the transmission of the message must be happening with the help of the central node. The best part of star topology is the addition and removal of the n
2 min read
Configuring EIGRP Default Route Propagation on Cisco Packet Tracer
Pre-requisite: EIGRP fundamentals, EIGRP Configuration. With respect to EIGRP or any routing protocol, summarization is a significant tool to create a boundary for query propagation If a router receives a query for a network it does not have in its topology table, it'll straightaway transmit a reply indicating an unreachable destination (Destinatio
3 min read
Configuring DHCP and Web Server in Cisco Packet Tracer
DHCP is an Internet control protocol used to assign an IP address to any appliance, or node, on an internet network so they can transmit data using IP. DHCP automatically handles these configurations rather than requiring network administrators to manually set IP addresses to all network devices. DHCP can be executed on small local networks, as wel
2 min read
How To Locate And Deploy Devices in Cisco Packet Tracer?
The main purpose of the Cisco Packet Tracer is to help students learn the principles of networking with hands-on experience as well as develop Cisco technology-specific skills. Since the protocols are implemented in software-only methods, this tool cannot replace hardware Routers or Switches. Interestingly, this tool does not only include Cisco pro
2 min read
How to Deploy Cable Devices in Cisco Packet Tracer?
The main purpose of Cisco Packet Tracer is to help students learn the principles of networking with hands-on experience as well as develop Cisco technology specific skills. Since the protocols are implemented in software only methods, this tool cannot replace hardware Routers or Switches. Interestingly, this tool does not only include Cisco product
3 min read
How to Add Port in Router in CISCO Packet Tracer?
Cisco Packet Tracer is a tool built by Cisco and it provides network simulation to practice simple and complex networks. The main purpose of the Cisco Packet Tracer is to help students learn the principles of networking and demonstrate the networking concepts. Router is a networking device that works in the network layer and can connect two differe
2 min read
Subnetting Implementation in Cisco Packet Tracer
A subnet, or subnetwork, is a part of a larger network. Subnets are a logical part of an IP network into multiple, smaller network components. The Internet Protocol (IP) is the method for transmitting data from one computer to another over the internet network. Each computer, or host, on the internet, has at least one IP address as a unique identif
3 min read
Practice Tags :