From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 11:35:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3BFA16A419 for ; Tue, 22 Jan 2008 11:35:36 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 7BE7513C4DB for ; Tue, 22 Jan 2008 11:35:36 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id 7019414224C; Tue, 22 Jan 2008 13:35:35 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.3 Received: from iris (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id 0B2ED142025; Tue, 22 Jan 2008 13:35:31 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Tue, 22 Jan 2008 13:34:44 +0200 User-Agent: KMail/1.9.7 References: <200801211400.33730.perlcat@alltel.net> In-Reply-To: <200801211400.33730.perlcat@alltel.net> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801221334.45017.nvass@teledomenet.gr> Cc: perlcat Subject: Re: bind: Can't assign requested address using ssh (or anything else) 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: Tue, 22 Jan 2008 11:35:37 -0000 On Monday 21 January 2008 22:00:33 perlcat wrote: > Trying to access a vpn using ssh on 6.2 - STABLE. Haven't found an > answer anywhere, and so I must be totally missing the right questions to > ask or configurations to look at. > > This problem is consistent regardless of port chosen or access method. I > can duplicate at will with ssh. Here's the command that fails: > > $ ssh -X -N -L 127.0.0.3:13390:192.168.1.44:3390 tyson@xx.xx.xx.xx > tyson@xx.xx.xx.xx's password: > bind: Can't assign requested address > channel_setup_fwd_listener: cannot listen to port: 13390 > Could not request local forwarding. Ofcourse it fails, you are trying to bind to address 127.0.0.3, however there is no such address assigned to a local network interface. Either: 1) change 127.0.0.3 to 127.0.0.1 You don't explain what this 127.0.0.3 is. 2) ifconfig lo0 add 127.3/32 HTH, Nikos