Voting has absolutely nothing to do with consulates or embassies. If there is one, maybe they do simplify voting, but the right to vote should go beyond the presence of any office.
This is what the US government allows to do: no matter where you are, we (try) to guarantee that you can participate.
It's actually awesome that this is allowed.