From owner-freebsd-stable Wed Jul 26 23:55: 9 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id D458C37B576 for ; Wed, 26 Jul 2000 23:55:03 -0700 (PDT) (envelope-from ntaflos.andreas@gmx.net) Received: (qmail 11500 invoked by uid 0); 27 Jul 2000 06:55:02 -0000 Received: from chagall.nt.tuwien.ac.at (HELO gmx.net) (128.131.67.155) by mail.gmx.net with SMTP; 27 Jul 2000 06:55:02 -0000 Message-ID: <397FF8BE.D6C66133@gmx.net> Date: Thu, 27 Jul 2000 10:54:22 +0200 From: Andreas Ntaflos X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i586) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: ipfw/natd, problems with 4.1 RC? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yo, I am having problems in getting ipfw with natd to work on this my fbsd 4.1 RC machine. according to the natd manpage, its just about 4 lines that are needed to run natd and 'masq' a subnet or a single other machine from the internet. i got two interfaces, one xl0 which is connected to the internet and one ed0 which is connected to my 'subnet' (which consists of a single win98 machine), and the correct cammands should be: # natd -n xl0 # ipfw -f flush # ipfw add divert natd all from any to any via xl0 # ipfw add pass all from any to any just 5 days ago, I entered these and it just worked fine. the 'masqed' pc could connect to the internet. now, i cvsupped 2 days ago or so, and did exactly the same thing, but it just wont connect the other pc to the internet. i've compiled the kernel with IPFIREWALL and IPDIVERT (I tried PFIREWALL_DEFAULT_TO_ACCEPT too, but it didnt matter wheather I had this option in or not). so, please, does anybody know why this doesnt work? maybe I am missing something here? did i forget something? help is welcome regards Andreas Ntaflos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message