On Wednesday 14 March 2007 17:01, Easthope wrote:
> mh> How do you set up the tunnel?
> mh> Something like "ssh -L 1025:localhost:25 home.example.com"?
>
> SSH.StartForwarding [EMAIL PROTECTED] 1025:peasthope.yi.org:25 ~
> Also tried this.
> SSH.StartForwarding [EMAIL PROTECTED] 1025:localhost:25 ~
>
> Explanation from SSH.Tool written by Guenter Feldmann.
> "SSH.StartForwarding    [EMAIL PROTECTED] { locPort:destHost:destPort }  ~
>    StartForwarding establishes an encypted tunnel between the local
> host and
>    the remote host. At the remote host an unencrypted connection is
> made
>    to the destination port at the destination host (which may be
> different from
>    the remote host)."

localhost should work.

> SMTP uses port 25.  What is 1025 doing here?

If you're tunneling *from* a unix-type OS as a normal user, you can't use 
listen on port 25 since it's privileged. You of course have to tell your MUA 
to use that port.

> mh> Do you get connection refused when you try to connect to
> the local end of the tunnel, or what happens?
>
> System.Log shows only this.
> --- SMTP
>
> MUA shows "no connnection".

Can SSH.Tool be told to give you some debug output so you can see in what end 
the connection fails?

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

  "Exim is better at being younger, whereas sendmail is better for 
   Scrabble (50 point bonus for clearing your rack)" -- Dave Evans

Attachment: pgpYcchLRxeCY.pgp
Description: PGP signature

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to