Login to your cPanel manager
Go to your List Accounts, in the Find option, type list and select List Accounts
From the middle pane, click on the cPanel logo next to the domain you wish to manage.
Under the Security option, select IP Deny Manager option.
Input your IP or Range in the box
Click the Add button to add format you specified