PDA

View Full Version : [gnome] How to setup a Shellmix SSH-Tunnel?



Hellageddon
March 15th, 2012, 01:02 PM
So, I have made myself an account on shellmix.com and now I own a login.
It works, I can connect to my shell with ssh username@shellmix.com

But now I want to tunnel all my traffic of my machine through that ssh connection, is that even possible?

So first of all, I went to my router and opened UDP/TCP from 9070 to 9070.
Then I started an SSH-Session with ssh -ND 9070 username@shellmix.com

Then I went to my system preferences > proxy config > manual proxy config:

[x] user same proxy for all protocols
127.0.0.1 Port 9070

And that doesn't work.
When I fire up Firefox to connect to any site, my connection gets a reset.
Where is the flaw here?

Hellageddon
March 15th, 2012, 10:36 PM
Allright, I figured it out.

When connecting to Shellmix the command ssh -ND 1234 user@tunnel.shellmix.com is legit. Afterwards you want to go to your Preferences>Network Proxy>
and on manually proxy config you want to leave everything blank, except on Socks host. There you type in localhost and the port is, as in your custom command, 1234.

No router-config needed, as far as I know.