Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2005 16:12:18 +0200
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Ugo Bellavance <ugob@camo-route.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sshd port forward
Message-ID:  <432EC742.8000005@locolomo.org>
In-Reply-To: <dgmg1u$old$1@sea.gmane.org>
References:  <dgme6q$g6v$1@sea.gmane.org>	<432EBDD6.3020105@locolomo.org>	<dgmf1d$g6v$2@sea.gmane.org>	<432EC216.5050105@locolomo.org> <dgmg1u$old$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ugo Bellavance wrote:
> Erik Norgaard wrote:
> 
>>Ugo Bellavance wrote:
>>
>>
>>>I'm connecting from a windows box, using putty.
>>
>>
>>Ok, this wasn't clear.
>>
>>
>>>in the SSH > Tunnels section of the connexion, there is:
>>>
>>>L80    192.168.x.x:80
>>>L143    192.168.x.x:80
> 
> 
> Typo:  should read: L143	192.168.x.x:143
> 
> 
>>>192.168.x.x is the IP address of the server on which I connect to, and
>>>that has the dovecot server installed.
>>
>>
>>Try: L1430 127.0.0.1:143
>>
>>You should then be able to connect to your imap server by connecting to
>>port 1430 on localhost.
>>
>>When I tunnel (ok, this is FBSD2FBSD) I use:
>>
>>$ ssh -L1430:localhost:143 imap.example.com
> 
> It does connect, prompts for a password.  When I provide the right
> password, I can see that there are new message (Thunderbird), but when I
> click on a message to see it, it doesn't load the message and freezes my
> ssh session.

There's no surprise that you get the password prompt for the ssh 
session, it's the establishing of a tunnel that goes wrong.

Did you change 192.168.x.x to 127.0.0.1 and L143 to L1430? If not do it, 
and configure thunderbird to connect to localhost:1430.

If you speak IMAP you can also telnet localhost:1430 instead of 
reconfiguring thunderbird every time.

Cheers, Erik

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?432EC742.8000005>