From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 20:07:03 2005 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 68A2916A4F3 for ; Fri, 11 Feb 2005 20:07:03 +0000 (GMT) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBB5443D39 for ; Fri, 11 Feb 2005 20:07:02 +0000 (GMT) (envelope-from dgw@liwest.at) Received: from cm248-169.liwest.at ([81.10.248.169]) by lilzmailso02.liwest.at with esmtp (Exim 4.24) id 1Czh49-0006mG-7x for questions@freebsd.org; Fri, 11 Feb 2005 21:07:01 +0100 From: Daniela To: questions@freebsd.org Date: Fri, 11 Feb 2005 22:06:43 +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: <200502112206.43267.dgw@liwest.at> Subject: How do I set the source address on a multi-homed host? 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: Fri, 11 Feb 2005 20:07:03 -0000 I have two NICs (one inside and one outside interface) with NAT activated. The problem is that every time I establish a connection with a machine on my LAN, it uses the address of the outside interface as the source of the packets, which creates problems with my firewall. How do I tell my machine to use the other address whenever I connect to a local machine? Daniela