Skip to main content

Connection Limits

Learning Focus

By the end of this lesson you will know how to configure connection-level DDoS protection in OpenLiteSpeed.

What Connection Limits Do

Connection limits cap the number of concurrent connections from a single IP address. This prevents a single attacker from exhausting server resources.

Key Settings

SettingPurposeRecommended
Max Connections Per Client IPConcurrent connections per IP10-50
Soft LimitStarts throttling at this level10
Hard LimitDrops new connections at this level50

Configuring in WebAdmin

  1. Server ConfigurationSecurityPer Client Throttling
  2. Set Connection Soft Limit and Connection Hard Limit
  3. Save and Graceful Restart
info

Be careful with very low limits. Legitimate users behind NAT gateways or corporate proxies may generate multiple simultaneous connections from a single IP.

Key Takeaways

  • Connection limits prevent single-IP floods from exhausting server capacity.
  • Set limits high enough to allow legitimate multi-connection browsing.
  • Combine with request limits and bandwidth throttling for layered protection.

What's Next