From owner-freebsd-questions@FreeBSD.ORG Mon Sep 19 13:43:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53AA416A41F for ; Mon, 19 Sep 2005 13:43:58 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6B2F43D49 for ; Mon, 19 Sep 2005 13:43:57 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EHLtH-0002db-Q0 for freebsd-questions@freebsd.org; Mon, 19 Sep 2005 15:41:03 +0200 Received: from 216.113.24.250 ([216.113.24.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Sep 2005 15:41:03 +0200 Received: from ugob by 216.113.24.250 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Sep 2005 15:41:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ugo Bellavance Date: Mon, 19 Sep 2005 09:38:53 -0400 Lines: 48 Message-ID: References: <432EBDD6.3020105@locolomo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 216.113.24.250 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en In-Reply-To: <432EBDD6.3020105@locolomo.org> X-Enigmail-Version: 0.92.0.0 Sender: news Subject: Re: sshd port forward X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 13:43:58 -0000 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.