Forum Discussion

midhun_108442's avatar
midhun_108442
Icon for Nimbostratus rankNimbostratus
Jan 20, 2012

Irule for Limiting client connection

Hi

 

 

 

Can anyone help to provide irule for limting Client connection hitting on Virtual server .

 

 

 

 

Regards,

 

Midhun

 

  • Idjiwa_37700's avatar
    Idjiwa_37700
    Historic F5 Account
    Hi Midhun,

     

     

    You won't need an iRule if you are only interested in limiting the maximum number of concurrent connections allowed for a given virtual server. It is something you can set ("Connection Limit") from the advanced settings of the virtual server definition.

     

     

    If you would like the limit to be on a per client basis, an iRule using the table command should do.

     

    The first example of the below link may just be what you need.

     

     

    table - DevCentral Wiki : http://devcentral.f5.com/wiki/iRules.table.ashx

     

     

    Hope that helps.