Want more timely Centmin Mod News Updates?
Become a Member

How prevent ping to server ip ?

Discussion in 'System Administration' started by negative, Dec 27, 2015.

  1. negative

    negative Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    1:57 PM
    1.9.10
    10.1.11
    Hello

    How can i prevent ping to my server ip ? I think it may possible with CSF firewall or which way ?


    I don't want to take ping packets etc.

    Thanks.
     
  2. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    12:57 PM
    1.9.9
    10.1.10
  3. negative

    negative Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    1:57 PM
    1.9.10
    10.1.11
    I edit the ICMP_IN to Zero and csfrestart command, but still i can ping the server ip
     
  4. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    12:57 PM
    1.9.9
    10.1.10
    Check if you are whitelisted in csf.allow.
     
  5. negative

    negative Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    1:57 PM
    1.9.10
    10.1.11
    I'm not o_O
     
  6. eva2000

    eva2000 Administrator Staff Member

    48,987
    11,227
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,477
    Local Time:
    8:57 PM
    Nginx 1.21.x
    MariaDB 10.x
  7. Xon

    Xon Active Member

    173
    61
    28
    Nov 16, 2015
    Ratings:
    +229
    Local Time:
    6:57 PM
    1.15.x
    MariaDB 10.3.x
    You really don't wan to block ping, it makes diagnosing faults quite hard and doesn't give you any benefit out of it.

    Even if you block ping, people can still send the data at you.
     
  8. eva2000

    eva2000 Administrator Staff Member

    48,987
    11,227
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,477
    Local Time:
    8:57 PM
    Nginx 1.21.x
    MariaDB 10.x
    +1 on that FYI