Ping tests to find the data speed from one place to another. It can be from your computer to a website. When the program was first developed, it was being used to test to find out the speed of data traveling and the existence of a network at the other end. This was one of the revolutionary inventions at that time, and it still gets used today. Finding the data speed of a communication signal has become commonplace in the modern age.
How Ping Firewall Works?
The function that makes the ping work will sound a little goofy. Ping actually waits to get a response from pong. I know some of you may be confused about the functions behind the ping. In the technical scope, ping sends a packet data to an IP address and waits for the electronic tone to return (Refers as pong). The actual origins of the name ping /pong come from the sound that the sonar of submarine makes when the signal bounces off a physical object underwater.
Modern Use for Ping Firewall
Ping gets used to testing the time that it takes for the data to travel from your computer, go through multiple nodes to reach the destination. Then send the data back to you. Ping determines the speed of the data and the time it takes for the connection to be established and the time that it takes to completion of the data transfer.
The rate of ping is a number of links to the delay time on the internet. It measured in milliseconds. The lower the number, the better the experience will be; if the number sits somewhere between 20 to 30s, then you are going to experience delays in your data transfer. Which could ruin the experience? In this day n age ping gets used in multiplayer gaming, where the speed of the internet can be very crucial on determining the end of the match. With so much value on ping firewalls, it is necessary to learn how to make Windows Firewall Allow Ping in its function to provide more information to the user.
Ping sent data packets to the destination network device and waits for the reply to measure the speed of data transfer. These data packets are known as Internet Control Message Protocol (ICMP). Performing these tests will also get you the results to if the network device is the inactive status or not. Which is a nice to get with the response time for each data packets? This leads us to one question – Why do we need to allow ping through Windows firewall?
If the system is familiar with the job of sending ICMP data packets to check the speed of data transfer and the existence of the network device at the other end, then why allow it? Because the Windows firewall on default setting blocks any ICMP packets from the network. If you are not getting your ping number, that means your firewall has been blocking the ICMP echo request.
By the way, here is everything about AlgoSec Firewall Analyzer for your reference.
How to make Windows Firewall Allow Ping?
There are plenty of options to Windows Firewall Allow Ping without any blockage from the firewall. Sure, you have the choice to block out the firewall altogether. But that will jeopardize your whole system, and the connection of network will suffer from it too. The much easier solution to this problem would be to create a new rule to accept ICMP on the firewall. Methods of achieving that are various, while you could do it from inputting codes in the command prompt or going into the advanced section of Windows Firewall Allow Ping on it.
Making new rules might harm the rules that already been set up, so creating new exceptions might open up security risk for your network.
Using Command Prompt to Make Windows Firewall Allow Ping
You can use CMD to let Windows Firewall Allow Ping in its system. It is also the fastest way to create a ping request in the system. follow the steps to allow ping through CMD –
- Open CMD with run as administrator. You can do that by pressing Windows + X / Windows + R (Through the Run Command) / or you can use the search bar, type in ‘Command Prompt.’
- To enable ping through a firewall, you have to create two new rules. One to accept ICMPv4 request and the other to accept ICMPv6.
- To accept ICMPv4, input this on command display –
netsh advfirewall firewall add rule name=”ICMP Allow incoming V4 echo request” protocol=icmpv4:8,any dir=in action=allow
- To accept ICMPv6, input the following code on the cmd interface –
netsh advfirewall firewall add rule name=”ICMP Allow incoming V6 echo request” protocol=icmpv6:8,any dir=in action=allow
- There is no need to restart the computer after applying the code. If you want to go back to the things as they were. By that. If you want to disable the ping requests, kill the rules.
- Then input this to disable the ping, again on ICMPv4 –
netsh advfirewall firewall add rule name=”ICMP Allow incoming V4 echo request” protocol=icmpv4:8,any dir=in action=block
- Use the following line for ICMPv6 ping requests –
netsh advfirewall firewall add rule name=”ICMP Allow incoming V6 echo request” protocol=icmpv6:8,any dir=in action=block
It is upon the user to create a rule to their liking. The name of the rule can be whatever you want it to be. But the same rules apply when you want to disable the exception or rule. You can use the following code to see the rules and information regarding the rules that have been created in the firewall. In case if you want to disable the rule, you can do it.
netsh advfirewall firewall show rule name=all
By inputting this line of code will list all the rules that have been created. Just scroll down or up to see the entire catalog of rules.
Using Windows Firewall with Advanced Security
You can also make Windows Firewall Allow Ping by changing the setting in the advanced options of the Windows firewall. If you don’t want to deal with all the codes in the command prompt section to allow ping through the firewall. Then you can always use this option to reach the same conclusion. Here you will be able to do it through a graphic user interface than just a window to type codes in.
Follow the steps below to allow ping requests through the Windows firewall.
- Search for ‘Windows firewall‘ on the search bar. Upon entering, it might take you to the advanced security page.
- If that doesn’t, you can manually go inside the advanced security page on the Windows firewall screen.
- Once you opened the Windows firewall, the next step is to change the rule. Which is an important part of this guide? You have to make a rule to accept ICMPv4 and ICMPv6 requests.
- On the advanced security page, you will see an option to create new rules on the page.
- Click on ‘Inbound Rules‘ on the left side of the panel. Then right-click on it, you will see a lot of options here. Just hit ‘New Rule.’
- This will create a new window; here, you have to select proper items to get to the next step. Once you are in the ‘New Inbound Rule Wizard‘ Windows, just select ‘Custom‘ then hit ‘Next.’
- On the next page will see ‘all programs‘ or ‘This program path.’ Just select ‘All programs‘ then just hit ‘next.’
- Now, this page might confuse some people, don’t worry; just choose ‘ICMPv4‘ in the ‘protocol type‘ and hit the ‘Customize‘ button.
- In the list of ‘ICMP types,’ enable ‘Echo Request‘ and then press ‘OK.’ Then hit ‘Next‘ on ‘New inbound rule wizard‘ window.
- On the next page, you select a specific IP address in the ‘Any IP address‘ option. If you want to your ping allowance to be specific to certain websites. Once you are done with that hit next.
- We are nearly at the end; on this page, you will hit ‘Allow the connection‘ option. To enable the connection. Once you enabled the connection, then you can hit next.
- This page, you will get to set up some control over your rules, whether you want to connect to the public network or private network. You can hit ‘next‘ if you accept all types of connections. Or disable it, if you don’t want to respond to the public network.
- We are finally at the end, here all you have to do is enter a ‘NAME‘ for the rule, and the description is optional. And then just hit finish afterward.
If you want to turn on the ICMPv6 options, then you have to follow all the steps. But do a little change in the protocol type section. Here you have to input ‘ICMPV6‘. Then you are officially done with the work. You can delete the rule by clicking on delete.
Conclusion on Windows Firewall Allow Ping
Letting Windows Firewall Allow Ping can be a gruesome task; on the other side, you will have full access to the ping service. Almost everybody in the world who uses the internet for a living, speed of the data in these cases is more important than ever. This where ping firewall becomes more important than ever. If your firewall is blocking the ICMP, then you won’t be able to test the speed of the internet. That’s why you have to follow some instructions to make Windows Firewall Allow Ping service in your system.