DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-11-16 20:25:22

deanis
New member
Registered: 2010-11-16
Posts: 2

HTTP Proxy to SSH Tunnel?

I would like to direct the web traffic from one of my network devices through an SSH tunnel.  The problem is that the device only allows setting an HTTP proxy address and port.  So can I somehow direct that to a proxy server on my DNS-321 and then have that in turn direct the traffic through the SSH tunnel?

I have the tunnel working properly on my desktop using Putty, but don't know where to start with my DNS-321.  I just installed it a month ago, and haven't tried funplug yet.

Is this possible and, if so, where do I start?

thanks for any and all pointers!

Last edited by deanis (2010-11-16 20:25:34)

Offline

 

#2 2010-11-17 18:50:07

terix
New member
Registered: 2010-11-14
Posts: 1

Re: HTTP Proxy to SSH Tunnel?

If i understand what you want, I think it would be possible to use Polipo for this...

Polipo is a http proxy...
If i'm right you can configure an ssh tunnel in the config... So the web browser you use will be configured to use an http proxy, the proxy will then use the ssh tunnel ...

In the polipo config, you will have to document this:

# Uncomment this if you want to use a parent SOCKS proxy:

# socksParentProxy = "localhost:9050"
# socksProxyType = socks5

So the only thing you'll need is to set a "permanent" ssh session on your DNS323 to the ssh server with a tunnel config.
# ssh -D 9050 user@ssh-server

If you use a private key to authenticate to the server(Without password), you could put it in a start script in /ffp/start/ ...
I'm not sure about the keep-alive of the ssh session, will it die if there's no traffic during X hour... You will have to test smile

Offline

 

#3 2010-11-18 20:48:09

deanis
New member
Registered: 2010-11-16
Posts: 2

Re: HTTP Proxy to SSH Tunnel?

Thanks terix!  It looks like I need to spend some time getting to know how to install apps on this thing.  I think I found a starting point...

http://dns323.kood.org/forum/viewtopic.php?id=2091

Last edited by deanis (2010-11-18 20:49:38)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB