There are tons of products for sale. You can get a replacement antenna that is a directional dish for example, instead of the typical omnidirectional dipole (stick).
AFAIK, many countries limit the EIRP, which increases with the antenna gain.
It's more complicated for 2.4 GHz point-to-point. At 1 watt transmitter power you are allowed a 6 dBi antenna. But for every 1 dBi you reduce transmitter power, you are allowed an additional 3 dBI of antenna gain to a maximum of 30 dBi antenna gain at 160 mW transmitter power.
5 GHz has even more complicated rules, I believe.
[1] http://www.qsl.net/kb9mwr/projects/wireless/allocations.html
how does that work? isn't all wifi traffic encrypted by something between devices and AP?
(I skimmed your link and did a find for encry on it but saw nothing.)
if not, why aren't there cheap and effective such designs on alibaba - why have to DIY?