global connection limit on interface

Hi,

Is there a way to put a global connection limit per interface? I have an DSL modem with a large number of customers, which crashes at around 900 concurrent connections, so, naturally, i would like to limit to 800 or so. Can you suggest me a solution for that?

Regards,
Todor