From owner-freebsd-net Tue Jul 10 14:42:23 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.guest-tek.com (mail.guesttek.com [139.142.1.74]) by hub.freebsd.org (Postfix) with ESMTP id E51F337B401 for ; Tue, 10 Jul 2001 14:42:18 -0700 (PDT) (envelope-from peter@guest-tek.com) Received: from localhost ([139.142.135.115]) by mail.guest-tek.com (8.9.3/8.8.7) with ESMTP id PAA21656; Tue, 10 Jul 2001 15:38:46 -0600 Message-Id: <200107102138.PAA21656@mail.guest-tek.com> Date: Tue, 10 Jul 2001 15:41:59 -0600 From: Peter Warrick Content-Type: text/plain; format=flowed; charset=us-ascii Subject: Re: IPFW and NATD Cc: Nick Rogness , freebsd-net@FreeBSD.ORG To: Julian Elischer X-Mailer: Apple Mail (2.388) In-Reply-To: Mime-Version: 1.0 (Apple Message framework v388) Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hmm.. I'm not sure which ones you want me to swap? I think the tabs are getting messed up.. It looks like I should swap natd and from but that can't be right? Ahh there we go.. Swap the any and the 139 address.. That worked.. Thanks a lot you two! :) Pete On Tuesday, July 10, 2001, at 05:14 PM, Julian Elischer wrote: > > > On Tue, 10 Jul 2001, Nick Rogness wrote: >> You need to add another rule: >> >> ipfw add divert natd all from $PUBLIC_IP to any in via en0 > ^ ^ > \----------/ > swap these > > >> >> The $PUBLIC_IP should be the IP of en0. This will only work if >> your non-diverted traffic is using a different public IPs...which >> I'm assuming you are. > > OR you don NOT want other machines to be able to get out. > >> > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message