The eustachian tube connects the middle ear with the nasopharynx.