From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 23:20:22 2003 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 91AD037B401 for ; Mon, 9 Jun 2003 23:20:22 -0700 (PDT) Received: from mailer1.trusc.net (sentinel.trusc.net [196.15.149.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9009843FBF for ; Mon, 9 Jun 2003 23:20:13 -0700 (PDT) (envelope-from leon@trusc.net) Received: from localhost.trusc.net ([127.0.0.1] helo=localhost) by mailer1.trusc.net with esmtp (Exim 4.20) id 19PcUw-00019y-4d for freebsd-questions@FreeBSD.ORG; Tue, 10 Jun 2003 08:20:46 +0200 Received: from mailer1.trusc.net ([127.0.0.1]) by localhost (sentinel.trusc.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04403-02 for ; Tue, 10 Jun 2003 08:20:35 +0200 (SAST) Received: from godzilla.trusc.net ([196.15.149.67] helo=leon) by mailer1.trusc.net with smtp (Exim 4.20) id 19PcUk-00019s-Tt for freebsd-questions@FreeBSD.ORG; Tue, 10 Jun 2003 08:20:34 +0200 From: "Leon Botes" To: Date: Tue, 10 Jun 2003 08:18:49 +0200 Message-ID: <000101c32f18$28d564a0$19fea8c0@trusc.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800 Importance: Normal X-Virus-Spam-Mime-Extension-Scanned: by Trusc Technologies with Amavisd-New Subject: Routing question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: leon@trusc.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 06:20:22 -0000 I have a box with three interface cards. inside interface - 192.168.0.0/24 outside interface 1 - 196.15.149.64/26 outside interface 2 - 172.16.254.0/24 Inside connects to lan with windows pc's outside 1 permanently connected to isp via wan router with diginet (t1 type line) and is viewable from internet. inside 2 connects to internet via DSl router using nat , connection ip cahnges daily. What i want the box to do is send all outgoing requests that originated from the box or the inside lan out the outside interface 2 which it does by setting default route. However when a connectio originates from internet to the outside 1 interface it must route its reply back via the same route and not via the outside interface 2 which it is doing hence making the box invisible to the outside. PLEASE any suggestions?