Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2005 09:38:53 -0400
From:      Ugo Bellavance <ugob@camo-route.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: sshd port forward
Message-ID:  <dgmf1d$g6v$2@sea.gmane.org>
In-Reply-To: <432EBDD6.3020105@locolomo.org>
References:  <dgme6q$g6v$1@sea.gmane.org> <432EBDD6.3020105@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Erik Norgaard wrote:
> Ugo Bellavance wrote:
> 
>>     I'm running 5.4, freshly installed.  I installed dovecot for IMAP
>> and I
>> want to be able to access it remotely using a port forward in ssh.
>>
>>     The problem I have is that whenever I access my mailbox via IMAP,
>> trough the ssh tunnel, I can't access the resource.  It says: connexion
>> refused.  From my internal network, IMAP access works fine.
>>
>>     I tried port-forwarding HTTP instead.  The situation is even worse
>> there: it freezes my ssh session.
>>
>>     I looked in the various logs and didn't find anything.  I uncommented
>> the line
>>
>> AllowTcpForwarding yes
>>
>> in sshd_config, and restarted sshd, but nothing changed.
>>
>>     Any ideas?
> 
> 
> How do you establish the tunnel? Please send the full command with options.
> 
> Cheers, Erik
> 
> 
> 

I'm connecting from a windows box, using putty.

in the SSH > Tunnels section of the connexion, there is:

L80	192.168.x.x:80
L143	192.168.x.x:80

192.168.x.x is the IP address of the server on which I connect to, and
that has the dovecot server installed.


-- 
Ugo

-> Please don't send a copy of your reply by e-mail.  I read the list.
-> Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dgmf1d$g6v$2>