Hi,
Welcome to the ehealthforum. I am glad to help you out. Your concern is regarding the painful lumps on the legs.
These lumps can be due to boils, abscess or erythema nodosum. Erythema nodosum is a type of skin inflammation that is located in a certain portion of the fatty layer of skin.It results in reddish, painful, tender lumps most commonly located in the front of the legs below the knees.
These lumps can be self-limiting and resolve on their own in three to six weeks. Upon resolution, they may leave only a temporary bruised appearance.
I suggest you to get an examination done from a dermatologist to confirm the diagnosis.
It is very difficult to precisely confirm a diagnosis without examination and investigations, and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care.