Below the knee, the iliotibial tract (ITB) shares an attachment with Peroneus Longus (41) and can irritate it. 41, which sits on the peroneal nerve, travels down the leg, then around the side of the foot, and finally attaches across the base of the toe muscles. This is the usually source of leg and toe cramps.
The peroneal nerve also innervates Tibialis Anterior (50) (running parallel to the shin bone), which, when spastic, can cause shin splints (cramping pain in the lower leg next to the shin bone after exercise). It can also cause pain in the main arch of the foot.