Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 11:11:07 +0300
From:      Corvette <wash@iconnect.co.ke>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw/nat
Message-ID:  <20010124111107.J46467@poeza.iconnect.co.ke>
In-Reply-To: <20010124100643.B39995@itouchnz.itouch>; from "Jonathan Chen" on Wed, Jan 24, 2001 at 10:06:43AM %2B1300
References:  <000801c0857c$f7a5efe0$768a0218@htfdw1.ct.home.com> <20010124100643.B39995@itouchnz.itouch>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jonathan Chen <jonathan.chen@itouch.co.nz> [20010124 09:24]: writing on the subject 'Re: ipfw/nat'
Jonathan> On Tue, Jan 23, 2001 at 03:42:12PM -0500, Andrew J. Siegel wrote:
Jonathan> > Alright just installed 4.2 w/ sysinstall....added options IPFIREWALL options
Jonathan> > IPDIVER options IPFIREWALL_FORWARD all to my kernnel config (icebox2)
Jonathan> > config'd and compile....did sysctl -a | grep fw...and fw.enable is set to
Jonathan> > 1....ipfw show issues one allow all for static commands, and something
Jonathan> > unknown for dynamic commands..
Jonathan> > 
Jonathan> > try adding ipfw add 500 divert natd all from any to any via rl0
Jonathan> > 
Jonathan> > and receive error:
Jonathan> > ipfw: getsockopt(IP_FW_ADD) INVALID ARGUMENT
Jonathan> 
Jonathan> This usually indicates that you haven't *installed* a kernel with
Jonathan> IPDIVERT options set. Send the list of your dmesg output.

He can also read ALL the details there is:
www.defcon1.org/html/NATD-config/firewall-setup/ipfw-1.html

WARNING: Copy and paste this URL!! If you change anything you'll say it is broken.
 

-Wash

--
Odhiambo Washington Inter-Connect Ltd.,
wash@iconnect.co.ke 5th Flr Furaha Plaza
Tel: 254 11 222604 Nkrumah Rd.,
Fax: 254 11 222636 PO Box 83613 MOMBASA, KE.

You can kill a thousand; you can bring an end to life; you cannot kill an 
idea. -Acting Israeli Prime Minister Shimon Peres on the assassination of 
Prime Minister Yitzhak Rabin 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010124111107.J46467>