How to correctly add these examples of ip addresses to the .htaccess file for their subsequent blocking?

61.125.138.0 - 61.125.138.127 201.79.58.0 - 201.79.59.255 

    1 answer 1

    deny from 61.125.138.0/25

    deny from 201.79.58.0/23

    In the future, use IP to CIDR to resolve IP blocking issues.