As the effort to collect, QC, organize and publish an open government dataset is usually funded by taxpayers, I have always imagined a government would prefer to only offer such data to its citizens for free and charge users from other countries. As is mentioned by @closetnoc on this question on webmasters, the government does sell the data too, as packaged in physical storage formats.
Upon downloading foreign datasets and searching for these policies however, I have never encountered such restrictions; they seem rare if they exist at all. Still, I haven't been able to find any terms of usage or literature that talk about access outside the border. If indeed this practice is rare, I'm curious as to the rationale. Is it too unsavory to paywall "open data" for any reason? Would the profits be too slim perhaps, with most traffic coming from domestic machines anyways? I am also interested in exceptions to this free international access.