Tunnel Something over SSH using socksproxy

Start SSH Tunnel and open socksproxy

  • Open Terminal window and enter
 $ ssh -CND [port] [user]@[ssh_host]
        C -> use Gzip compression
        N -> set Non interactive mode (just asks for password but doesnt open a shell)
        D [port] -> forward port
  • Set a socks proxy in the desired application to localhost [port]

Firefox Settings to use socksproxy

 Edit -> Preferences -> Advanced -> Network -> Settings...
 Check box "Manual proxy configuration"
 Set "SOCKS Host" to "localhost" and "Port:" to "[port]"
 Browse to URL "about:config"
 Filter for "network.proxy.socks_remote_dns" and set to true <-- also query dns over proxy

Tunnel interface Traffic trough Socksproxy

No solution yet.

feel free to complete this information ;-)

Trackback URL for this post:

http://www.2030.tk/trackback/25

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Use <fn>...</fn> to insert automatically numbered footnotes.
  • You can use the <go> tags just like the <a> for nicer urls.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.