From owner-freebsd-doc Wed Mar 20 12: 0:32 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.datanet.hu (mx1.datanet.hu [194.149.13.160]) by hub.freebsd.org (Postfix) with ESMTP id 6C31037B416 for ; Wed, 20 Mar 2002 12:00:28 -0800 (PST) Received: from fonix.adamsfamily.xx (nilus-728.adsl.datanet.hu [195.56.50.220]) by mx1.datanet.hu (DataNet) with ESMTP id 97302F992 for ; Wed, 20 Mar 2002 21:00:26 +0100 (CET) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.2/8.12.2) with ESMTP id g2KK0Z1F001851 for ; Wed, 20 Mar 2002 21:00:35 +0100 (CET) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.2/8.12.2/Submit) id g2KK0YbE001850 for freebsd-doc@FreeBSD.ORG; Wed, 20 Mar 2002 21:00:34 +0100 (CET) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Wed, 20 Mar 2002 21:00:34 +0100 From: Szilveszter Adam To: freebsd-doc@FreeBSD.ORG Subject: Re: natd does not work Message-ID: <20020320200033.GA1810@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , freebsd-doc@FreeBSD.ORG References: <20020316075540.GA945@fonix.adamsfamily.xx> <20020318134217.V37524-100000@www.freebsdmall.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020318134217.V37524-100000@www.freebsdmall.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Mar 18, 2002 at 01:43:26PM -0800, Chern Lee wrote: > Thanks for the clarification, I was just going by natd(8): > > This program provides a Network Address Translation facility for use with > divert(4) sockets under FreeBSD. It is intended for use with NICs - if > you want to do NAT on a PPP link, use the -nat switch to ppp(8). > > Perhaps this needs to be updated, not my area though, volunteers are > welcome :) Yes, I think it could use some updating. In fact you get to choose, either use ppp with -nat or natd, but not both. If you use ipfw, using natd comes rather naturally. Likewise, using ipfilter with ipnat should also be possible. (but I have not tried that). On the other hand, maybe I will check with Brian Somers in case he has some compelling reasons to use the -nat option with ppp:-) -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message