From owner-freebsd-questions@FreeBSD.ORG Fri Jan 23 14:39:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29C5C106566B for ; Fri, 23 Jan 2009 14:39:30 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id A2F788FC1C for ; Fri, 23 Jan 2009 14:39:29 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so3121404fgb.35 for ; Fri, 23 Jan 2009 06:39:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=97ln9E8GyfRHwCdzMkUi7WSUJiD3HKAowImlZoy9u7g=; b=RaEG6I24AdEW5UIrKk8nZWG74B4RU1fHUx/qZIOpzBVoXQUbRIpaFK3O2X8ddq8j7X 8egHoWPVdd+yI0flxKTuy6Z31LogG/CJkdHzd2uuESvSe31F5/ifs3QyyQD+uDXmieG6 6q67v4OvMzp2h5veVhmvyzMlHsy14RgKGdZRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jQt9flD6nYntIUbD1jhiFc2HdjcFrvanY+20LRKgBbAjAH4xn3mUv2ChjoKPFaqlVb vHVD6Phgc0V0jlyEkUKdXigACyY8Io8szjIEDvjKwHkVOUmrOPixy+2M2jqcN5PP9uua AdwgIQl4yswZ3MwxAwg4S4urE0VqORo/gc5vo= MIME-Version: 1.0 Received: by 10.223.114.135 with SMTP id e7mr932168faq.89.1232721568546; Fri, 23 Jan 2009 06:39:28 -0800 (PST) In-Reply-To: <372A95C3CA654645B7407DAED7DC334C166EA2@dainbramage.NonComposMentis.net> References: <372A95C3CA654645B7407DAED7DC334C166EA2@dainbramage.NonComposMentis.net> Date: Fri, 23 Jan 2009 17:39:28 +0300 Message-ID: <991123400901230639j3b858276ofd1cdf0f13f7a9d0@mail.gmail.com> From: Odhiambo Washington To: Michael VanLoon Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Dumb ipnat question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2009 14:39:30 -0000 On Fri, Jan 23, 2009 at 2:43 AM, Michael VanLoon < michaelv@noncomposmentis.net> wrote: > I have built a simple 7.1 system in a VM. I built a custom kernel that is > basically GENERIC minus some hardware stuff I don't need, plus a few things > that look cool. > > When I attempt to run the ipnat command, I get the error: > /dev/ipnat: open: No such file or directory > > Sure enough, there are no ip* devices in /dev/. In the "olden days", when > I used to do a lot of BSD hacking, you used MAKEDEV to make the devices you > wanted. Nowadays, it's done with devfs. I believe the upshot is that it's > supposed to be semi-automagic, isn't it? > > Anyway, what am I doing wrong? What do I need to configure to use ipnat > and then later ipfw or ipfilter? Did you load the modules? ipl_load="YES" in /boot/loader.conf and reboot OR kldload ipl If you did not compile IPFILTER in the kernel, then you must load the module. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood