Quick change of SSH tunnel port forwarding options for SOCKS proxy

Posted by user1335897 on Server Fault See other posts from Server Fault or by user1335897
Published on 2012-11-26T09:06:21Z Indexed on 2012/11/26 11:08 UTC
Read the original article Hit count: 260

Filed under:
|

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?

© Server Fault or respective owner

Related posts about ssh

Related posts about ssh-tunnel