Hard sometimes painful lumps under the skin on legs and torso?

Need eval. These lesions would likely need to be examined and more history obtained to be able to provide you with useful input about the diagnosis or possible treatment.
Painful lumps. You need to see a surgeon.