SshTunnel

From MLDonkey
Jump to: navigation, search

Contents

Using Ssh Tunnel to remote control mldonkey

Assume your mldonkey runs on a secured box listening only on localhost for gui connections (port 4001). If the box allows ssh connections and port-forwarding, simply connect from your client workstation (e.g. on work) with an ssh terminal.

ssh -L4001:127.0.0.1:4001 youruser@yourbox.dyndns.org

This sets up a tunnel from your client to yourbox. All communications will be encrypted. Now simply connect your mldonkey gui to localhost using the default settings.

This works also for Cygwin using openssh.

Using Putty to tunnel

Putty is a small and handy telnet/ssh application for windows. It does not require an install. (I never leave home without a floppy disc with putty =). Get it from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

  1. Fill in the fields for a normal ssh connection to your remote machine.
  2. Add, in the "Tunnels" section, source port 4001 and destination 127.0.0.1:4001. Ensure that "Local" is selected and press add. (For telnet replace 4001 with 4000 and for the webinterface replace 4001 with 4080.)
  3. Open the session and log in as usual.
  4. Now you can connect your local gui to localhost:4001.

More

See also



LanguagesEnglish

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox