sorry if my terminology is way off, I'm not well versed with networking.
Can any combination of hardware and software make following scenario a reality:
In location A there is a WiFi network called, let's say, 'X-wifi'. In location B (geographically distant - another district, city, country) there is a WiFi network also called 'X-wifi'. Using Internet as a intermediary, can you construct such a system so that machines connected to 'X-wifi' in location A and B see each other, just as (or effectively as) if they were actually connected to the same access point? If yes, what is the simplest way to achieve it?