Forum Discussion

yuanqiang_22112's avatar
yuanqiang_22112
Icon for Nimbostratus rankNimbostratus
Dec 27, 2018

how to limit multiple different network client connections

Hi: F5 create virtual server , I need to limit ten clients connections (210.184.23.35、211.34.45.86、115.53.54.62......) ,For example ,limit these clients connections equal 50, how to realize ? I think create a resource group contains the ten clients , use a limit connection irules relevance the group , and relevance the virutual server 。

 

1 Reply

  • Do you want to limit 50 connections for each or 50 connections for the group of IPs?

     

    you can create as many virtual server with same configuration as you want, with source IP filtering...

     

    • VS1 :
      • destination IP : 1.1.1.1
      • source IP : 210.184.23.35
      • connection limit : 50
      • pool : pool1
    • VS2 :
      • destination IP : 1.1.1.1
      • source IP : 2211.34.45.86
      • connection limit : 50
      • pool : pool1
    • VS3 :
      • destination IP : 1.1.1.1
      • source IP : 115.53.54.62
      • connection limit : 50
      • pool : pool1

    if you want to limit to 50 connections for all of these IPs, you can set the connection limit to the pool instead of the virtual servers.