You can get an external directional antenna which will give you a range of few km. Look up yagi antenna. You can get them on
ebay for under $20.
Just make sure it is one that matches your WiFi frequency (usually 2.4GHz but there are other frequencies as well).