From owner-freebsd-questions@FreeBSD.ORG Tue Sep 28 17:31:45 2004 Return-Path: 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 00CAD16A4CE for ; Tue, 28 Sep 2004 17:31:45 +0000 (GMT) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AC6843D5E for ; Tue, 28 Sep 2004 17:31:44 +0000 (GMT) (envelope-from dgw@liwest.at) Received: from cm248-230.liwest.at ([81.10.248.230]) by lilzmailso02.liwest.at with esmtp (Exim 4.24) id 1CCLpG-0004D3-Sv for questions@freebsd.org; Tue, 28 Sep 2004 19:31:42 +0200 From: Daniela To: questions@freebsd.org Date: Tue, 28 Sep 2004 19:34:41 +0000 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409281934.41705.dgw@liwest.at> Subject: How to set source address for outgoing SSH? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dgw@liwest.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 17:31:45 -0000 Hi list! I have some problems with an outgoing SSH connection to a machine on my LAN. Connections from the clients to the server work, but not vice versa. The server has two NICs and the connection should normally go through the inside interface, but the connection is initiated with the address of the outside interface instead. As a logical consequence, my firewall (which is running on the server) drops the response, with my outside address being shown in the firewall logs as source for the request, and my inside address being shown as destination for the response. The output of sockstat(1) shows the inside address being used as expected. I already examined the routing tables, to no avail. What else should I check? Regards, Daniela