Quick change of SSH tunnel port forwarding options for SOCKS proxy
- by user1335897
The goal is to have access to internet thru SSH tunneling to SOCKS proxy.
Me - ssh-on-my-vps - SOCKS proxy - internet
Thing is I want to be able to quickly change the SOCKS proxy in this chain.
If I use port forwarding on ssh, I assume I have to re-establish SSH tunnel with new SOCKS proxy address in parameters whenever I want to change proxy.
Is that right?
If it is, then I probably should always point SSH tunnel to localhost listening proxy server which will send requests to specified SOCKS proxy.
So what local proxy I should choose that allows to easily change the destination SOCKS proxy via maybe reading from local file where I would put the SOCKS proxy address or via specifying new SOCKS address in its web-admin page?