Generally I use this command to create a local Socks proxy via SSH Tunneling
ssh -ND 7777 -i google.pem [email protected]
Then i configure my applications to use Socks proxy on localhost (i.e. 127.0.0.1 )
And it works as expected.
I recently came across a Gnome Application, Gnome SSH Tunnel Manager, also available in the repositories as gstm
. GSTM has more features which I need, like Auto Restart and Auto connect on Start up
I am unable to use it as per my requirement.
Here's my GSTM setup:
And the ports on the server I'm trying to connect to:
You're setting up the redirection incorrectly. To get the SOCKS proxy you need to set up a dynamic redirect -- just one different click (see screenshot). You just need to set the port you want to use on localhost (here, 8888), and leave the remaining as is (n/a).