What countries participated in the olympic games?

Greek states and Greek settlements in Southern Europe, Africa, and Asia.