How can I set nic to not respond to ping?
I went to ShieldsUp and only had one port "0" that responded and did so with "closed" which I am assuming is the response to my guess is the ping.
How can I set the nic to not respond to ping?
-
- df -h | grep > 20TiB
- Posts: 1527
- Joined: 2012-10-06 05:31
- Location: /dev/chair
- Has thanked: 105 times
- Been thanked: 254 times
Re: How can I set the nic to not respond to ping?
By configuring your firewall of choice to drop ICMP echo requests.
Port 0 has nothing to do with ping. Port 0 is reserved, should never see any traffic at all, and is almost always blocked at your ISP. If it's not, you can use a firewall rule to drop that traffic as well.
Aside, the "stealth" test on GRC is pure paranoia. A closed port will not accept any connections and presents no security risk.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Re: How can I set the nic to not respond to ping?
There is a cleaner way to do this.
Set in your /etc/sysctl.conf:
Set in your /etc/sysctl.conf:
Code: Select all
net.ipv4.icmp_echo_ignore_all = 1
net.ipv6.icmp.echo_ignore_all = 1