It usually takes 4 weeks for the rash to disappear, but there can be pain in the affected dermatome which lasts for more than 90 days, called postherpetic neuralgia.
Below the knee, the pain usually follows the dermatome distribution, for example, if the L4 nerve root is compressed, the pain would radiate along side the medial side of the leg.