Disable ping in Ubuntu.

Discussion in 'all things UNIX' started by linuxforall, Jun 21, 2010.

Thread Status:
Not open for further replies.
  1. linuxforall

    linuxforall Registered Member

    Joined:
    Feb 6, 2010
    Posts:
    2,136
    In terminal sudo echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

    to enable it back sudo echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all

    Ping is enabled in Ubuntu for network diagnosis and that makes it fail stealth test on Shields Up at www.grc.com
     
  2. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,677
    Location:
    George, S.Africa
    Not here - but of course I am behind a router.
     
  3. linuxforall

    linuxforall Registered Member

    Joined:
    Feb 6, 2010
    Posts:
    2,136
    If you are behind a router then NAT is hiding you and all this is not necessary, this is for those with modems and firewall enabled.
     
Loading...
Thread Status:
Not open for further replies.