From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 12:26:49 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A9DB16A433 for ; Wed, 10 May 2006 12:26:49 +0000 (UTC) (envelope-from marcel245@mweb.co.za) Received: from cuttlefish.mweb.co.za (cuttlefish.mweb.co.za [196.2.50.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8523043D49 for ; Wed, 10 May 2006 12:26:48 +0000 (GMT) (envelope-from marcel245@mweb.co.za) Received: from cuttlefish.mweb.co.za (localhost.localdomain [127.0.0.1]) by pwfilter01.mweb.co.za (Postfix) with ESMTP id 3BBC136DF9 for ; Wed, 10 May 2006 14:26:46 +0200 (SAST) Received: from mws37 (unknown [196.2.63.103]) by cuttlefish.mweb.co.za (Postfix) with ESMTP id 21A2536DE0 for ; Wed, 10 May 2006 14:26:46 +0200 (SAST) From: "marcel245@mweb.co.za" To: freebsd-hackers@freebsd.org Message-ID: <922141e3b0574a3aaf1eb5e364c4c463@mweb.co.za> Date: Wed, 10 May 2006 14:26:45 +0200 X-Priority: 3 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Wed, 10 May 2006 13:56:46 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: IPFW + NATD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 12:26:50 -0000 I am still having huge troubles with using natd with the "divert natd" = in ipfw=2E I can only nat all my traffic or none=2E What i would = like to do is simply nat accoring to box or service for a particular bo= x=2E This is a example of what works for natting all traffic=2E <= BR>ipfw add divert natd all from any to any via tun0 Now i = have tried the likes of "ipfw add divert natd all from 10=2E150=2E200=2E= 35 to 196=2E25=2E211=2E150 via tun0" And that does not work=2E= Ive tried many examples=2E And cannot come right=2E All = i need to do is nat for a novell srv trying to access a mail serve= r pop account=2E Currently im forced to use port forward utilities t= hat dont work=2E Help would really be appreciated=2E :>