This question already has an answer here:
I have a local wifi "hotspot" with various devices on it. I have a second hotspot which provides internet access (android).
I have a Ubuntu PC with two wireless cards - one connected to the android hotspot for internet access and the other connected to the private hotspot.
How do I configure my linux PC and other linux devices on the private network to allow temporary access to the linux devices on the private network?