I'm trying to connect to a VPS as if this one was a proxy server
Edit Proxy being an HTTP proxy not a SOCKS one, so that any app needing an HTTP proxy can connect to this HTTP proxy with this type of settings :
login:passwd@proxy_ip:port
but this connexion being tunneled from the VPS to a server with a dynamic IP (a raspberry pi connected to a 4g wifi), so that the proxy request is finally made by the server on the RPi
So far, I have the SSH tunnel working between the Rpi and the VPS
I did this on the Rpi :
ssh -N -R 9999:localhost:22 vps_user@vps_ip
Then from the VPS I can connect to the Rpi doing :
ssh pi_user@localhost -p 9999
So that I get connected to the RPi
What I'm missing is the other part :
Edit 2 :
I'd like to use my browser or any app needing HTTP proxy settings to get pages from the internet, connecting to my VPS as this one was an HTTP-proxy, the VPS tunneling the request to the RPi so that finally the Rpi will ask for the webpage...
Hope my explainations are understandable, let me know
Many thanks by advance,
Regards