irule to set a limit of connections from the same IP

Anyone know how I can restrict the number of connections established from the same IP. My intention is to allow only one connection per IP. Thank you.

You should go read about the table object, the first example script is about limiting client connections in a vCMP compatible fashion.

Check out this link. You can modify it based on your requirements. F5 Cloud Docs