From owner-freebsd-ipfw@FreeBSD.ORG Sat May 5 01:39:52 2007 Return-Path: X-Original-To: ipfw@freebsd.org Delivered-To: freebsd-ipfw@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65F6016A400 for ; Sat, 5 May 2007 01:39:52 +0000 (UTC) (envelope-from jazzhills@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id 26FA913C457 for ; Sat, 5 May 2007 01:39:52 +0000 (UTC) (envelope-from jazzhills@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1055624ana for ; Fri, 04 May 2007 18:39:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=fkSv2GiUvpke89GvP2jR5PAEajAce/mRwBpHO7tQQP88j4NiPvjKy3DDmB8W4jbxWOBYs1nc7Z1sXADw6l87xCmtU0RyUm84nIlpJUkdDnPKcbsLiRH1b4xvs79sBuStCANv1dacB1acmX/Ugv5PWE5EvtzFbFTUW7T+hRYHnwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mRYXyyptGbyussxml3a8hx6hdikadkvP+YYrW2m0OxQkQnRmi+1VLY54JLq08wZrbfFPidKvjdrPb6MBiHMtPe4AI5qWzAyJHUpOK3mlr3Gpx/Wnx8hTzpLzwA+4JoaLiX7Z1WoKY9e9ZTX+YisP/HhZ4nS1kVEvsSTEWrSqSEE= Received: by 10.100.178.7 with SMTP id a7mr3212844anf.1178327545287; Fri, 04 May 2007 18:12:25 -0700 (PDT) Received: by 10.100.94.8 with HTTP; Fri, 4 May 2007 18:12:25 -0700 (PDT) Message-ID: <33910a2c0705041812s2aaf0b62t785e16abc0decee6@mail.gmail.com> Date: Fri, 4 May 2007 22:12:25 -0300 From: "Jason Hills" To: ipfw@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Policy Routing natd+ipfw X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 01:39:52 -0000 Hello. How can I do policy routing with ipfw+natd? I started 2 natd processes, using natd.conf and natd2.conf respectively, but things dont work. My rules are: ext_ifi1="em0" ext_ifi2="em1" divert 8668 ip from $net1 to any out via $ext_if1 divert 8669 ip from $net2 to any out via $ext_if2 divert 8668 ip from any to any via $ext_if1 divert 8669 ip from any to any via $ext_if2 My defaultrouter is the one on $ext_if1. It works for port 8668 but doesnt work for 8669 (the second xDSL link) -- Jazzie Hills