Date: Thu, 8 Apr 2010 12:35:34 -0400 From: Robert Huff <roberthuff@rcn.com> To: ipfw@freebsd.org Subject: Re: Kernel Config for NAT Message-ID: <19390.1494.857240.45869@jerusalem.litteratus.org> In-Reply-To: <y2m6201873e1004080857q79d0ab30r93d1e5e8bb30d2b8@mail.gmail.com> References: <201004080252.o382qFH7019790@leka.aloha.com> <x2m6201873e1004072052u88a62b4eo7d1e9a457240937a@mail.gmail.com> <19389.23404.649946.265403@jerusalem.litteratus.org> <o2s6201873e1004072155ie746928cx5faac5d3f8e1d8ef@mail.gmail.com> <19389.51130.108457.400747@jerusalem.litteratus.org> <y2m6201873e1004080857q79d0ab30r93d1e5e8bb30d2b8@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I am planning to a) update a -CURRENT system to recent code, and b) install ipfw+NAT. The documentation in the Handbook is confusing and/or incomplete. So far I have: 1) in /boot/loader.conf: ipfw_load="YES" ipdivert_load="YES" 2) in the kernel config: #options IPFIREWALL #firewall #options IPFIREWALL_VERBOSE #enable logging to syslogd(8) #options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity #options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default #options IPDIVERT #options IPFIREWALL_NAT #ipfw kernel nat support options LIBALIAS # required for NAT 3) in /etc/sysctl.conf: net.inet.ip.fw.default_to_accept="1" net.inet.ip.fw.verbose="1" net.inet.ip.fw.verbose_limit="100 Is there anything else I need? (Assume I have a working set of firewall rules.) Is there anything I need to take out? Respectfully, Robert Huff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19390.1494.857240.45869>