Date: Tue, 24 Oct 2000 17:39:10 -0700 (PDT) From: Ben Klang <ben@insightsys.com> To: FreeBSD STABLE Mailing List <stable@freebsd.org> Subject: divert() and ipfw Message-ID: <20001025003910.90F8F6E2A2B@mx1.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hello all. First, let me say that I am a complete newbie to FreeBSD. Total use is under 3 weeks. :) I am trying to implement NAT on a fresh install of 4.1.1-RELEASE. I used the ISO to install. My problem is this: All the tutorials and documentation I can find say the command line should be: ipfw add 10 divert natd all from <subnet> to any via ex0 however, its reporting: <snip> 00010 divert 8668 ip from any to any via ex0 ipfw: setsockopt(IP_FW_ADD): Invalid argument </snip> I believe I have tracked this problem to how the ipfw kernel module was compiled. There is mention in the docs of adding divert support to the kernel, but I believe its any of: 1) a setting in sysctl, but I cant find any mention of this 2) an option passed to ipfw when its kldloaded 3) a kernel module all its own I really have tried to read all the docs, and a copious amount they are, but I cant seem to find this (seemingly simple) answer. Any help is appreciated! -Ben Klang, KF4WBX Network Systems Administrator ben@insightsys.com 404.873.0058 x111 www.insightsystems.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001025003910.90F8F6E2A2B>