Forum Discussion

Alfy's avatar
Alfy
Icon for Nimbostratus rankNimbostratus
Mar 30, 2012

Block ICMP (Ping) on a specific VS

Hello All,

 

 

I'm wondering if it's possible to block ping response on a specific VS by an iRule or by another configuration way.

 

 

Thanks for your help.

 

 

AB

 

 

3 Replies

  • Hi Alfy,

     

     

    You could use a packet filter that drops ICMP for specific virtual addresses. I think you could use a packet filter rule like:

     

     

    ( proto ICMP ) and ( dst host 10.1.1.1)

     

     

    where 10.1.1.1 is your virtual server address. The action would be drop.

     

     

    You can check the config guide for your version for details. Here's the manual section for 11.1:

     

     

    TMOS concepts - 11.1

     

    https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/tmos-concepts-11-1-0/tmos_packet_filters.html

     

     

    TMOS Implementations - 11.1

     

    https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/tmos-implementations-11-1-0/14.html

     

     

    Aaron
  • Alfy's avatar
    Alfy
    Icon for Nimbostratus rankNimbostratus
    Hi Aaron,

     

     

    Thnaks a lot for your answer.

     

    It's working well.

     

     

    AB
  • Hi Aaron,

     

     

    Thanks for the info. Worked for me too.

     

     

     

    Regards,

     

     

    Ryan,