I have a Raspberry Pi 3B+ that I'm using as a Wi-Fi hotspot. I have successfully gotten an access point running on one Wi-Fi USB chip, and using another Wi-Fi USB chip I connected to the public Wi-Fi. My goal here is to setup an SSH Tunnel leaving the Raspberry Pi, and on the Raspberry Pi set a system wide SOCKS proxy as 127.0.0.1, to then proxy all requests entering the Pi's access point over towards my home Wi-Fi. Does this make sense? I am fairly new at this kind of stuff, so any help is appreciated. Thanks!
UPDATE with info from comments:
Not all of my devices on the access point can do ssh/proxying, so I need it to happen between the tunnel and the access point.
I need an SSH tunnel to access resources inside my home network. Yes, they are in fact called wlan0 and wlan1, 0 is for the access point and 1 is for uplink. The endpoint of the tunnel is wlan1 and the other end of the tunnel is a computer on my home network. I am able to connect the tunnel but the proxy is the tricky part.