From owner-freebsd-questions@FreeBSD.ORG Mon Sep 19 13:50:23 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 0BE5A16A427 for ; Mon, 19 Sep 2005 13:50:23 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (62-15-217-181.inversas.jazztel.es [62.15.217.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75F4743D49 for ; Mon, 19 Sep 2005 13:50:22 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [172.24.8.84] (generic.atosorigin.es [212.170.156.200]) by strange.daemonsecurity.com (Postfix) with ESMTP id 33E932E01E; Mon, 19 Sep 2005 15:50:18 +0200 (CEST) Message-ID: <432EC216.5050105@locolomo.org> Date: Mon, 19 Sep 2005 15:50:14 +0200 From: Erik Norgaard User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050824) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ugo Bellavance References: <432EBDD6.3020105@locolomo.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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:50:23 -0000 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 > > 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 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