Date: Fri, 23 Jan 2009 17:39:28 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: Michael VanLoon <michaelv@noncomposmentis.net> Cc: freebsd-questions@freebsd.org Subject: Re: Dumb ipnat question Message-ID: <991123400901230639j3b858276ofd1cdf0f13f7a9d0@mail.gmail.com> In-Reply-To: <372A95C3CA654645B7407DAED7DC334C166EA2@dainbramage.NonComposMentis.net> References: <372A95C3CA654645B7407DAED7DC334C166EA2@dainbramage.NonComposMentis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?991123400901230639j3b858276ofd1cdf0f13f7a9d0>
