Skip to main content
vvserpent
Explorer
September 14, 2017
Question

max concurrent session per destination host

  • September 14, 2017
  • 1 reply
  • 5888 views

Hi ,

 

I have a server open to public and want to limit the concurrent session to this server.  

 

The document mentioned the  Traffic-Shaper can apply traffic shaping to all "source IP".  It seems I can't use Traffic-shaper for this purpose. 

 

Could you tell me how to limit the max-session to specific destination IP ? 

    1 reply

    MikePruett
    New Member
    September 14, 2017

    Think this would be best suited as a server side configuration wouldn't it? That's the way I always did my web servers.

    emnoc
    New Member
    September 14, 2017

    if you build the vip as server load balance and in the real-server cfg you an set max connections

     

    config realservers

        edit 1

            set ip 10.0.0.1

            set port 80

            set max-connections 100

        next

       edit 1

            set ip 10.0.0.2

            set port 80

            set max-connections 90

        next

    end

     

    In your case if it's one  server, than just set the max-connect under the 1st  real server that you define