Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

xia's avatar
xia
Icon for Nimbostratus rankNimbostratus
Aug 14, 2019

how to limit specified client visit virtual server use irules

Hi

Create virtual server “vs_hfs_80” , only allow "192.168.1.3" and "172.16.1.4" visit the virtual server . How to use irules realize the idea ?

 

Thanks !

1 Reply

  • Hi Xia,

    Here is one way to do it:

    when CLIENT_ACCEPTED { 
      switch [IP::client_addr] { 
        10.1.1.1 { pool <poolname> } 
        10.1.1.2 { pool <poolname> } 
     
        default { 
            drop 
            log local0. "[IP::client_addr] doesn't match allowed. --> Dropping Packet"
        }
      }
    }