You are looking for what's called WISP mode, which stands for "Wireless Internet Service Provider".
In this mode, a Wireless port of the WiFi router acts as the WAN port, connecting to a remote Wi-Fi hotspot and sharing this Internet connection between the client devices connected to it via WiFi and Ethernet. This mode usually creates a private network, where IP addresses are are local only to this network and are not seen by the router and computers in the network supplying the internet connection.
Graphically, this looks like this :
Reference article : What is a WISP on my Wireless Router?
Because I don't know your router's TP-LINK model, this is a summary of the article How to configure the WISP Client Router Mode on the TL-WR710N. As I don't have a TP-LINK router, some of the text below is by (educated) guess, and might be in error.
- Connect the router to your computer, preferably via cable, with no other network or internet connection, reboot the router and then the computer
- Open a Web Browser and go to
http://tplinklogin.net
or192.168.0.254
- Enter user name and password (default
admin
) - Go to Quick Setup and click Next
- Select Wireless WISP Client Router and click Next
- Choose the WAN Connection to your neighbor. It might beYour neighbor's preference is Dynamic IP.
- Click Survey
- Find your neighbor’s SSID and click Connect
- Enter the connection parameters for your neighbor and click Next
- Click on Reboot and wait for it to reach 100%
- Go to the Status page and check the information under WAN to see whether you have successfully connected to your neighbor.
See the article for more information with screenshots.