Date: Sat, 7 Sep 2002 12:11:18 -0700 From: Erick Mechler <emechler@techometer.net> To: Gene Bomgardner <gene@bomgardner.net> Cc: FreeBSD-stable@FreeBSD.ORG Subject: Re: ipfw add command format problem Message-ID: <20020907191118.GM31416@techometer.net> In-Reply-To: <3D79F88E.29385.CA8C73@localhost> References: <3D79F88E.29385.CA8C73@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
:: ipfw add divert natd all from any to any via rl0 :: :: Right out of the natd manpage , :: however, ipfw responds: ipfw: error: missing 'to' Try adding a rule number to it (I'm assuming you already have other ipfw rules installed, and your divert rule should be the first one): ipfw add 50 divert natd all from any to any via rl0 Do you also have the proper settings in /etc/rc.conf for natd and is natd running properly? From the looks of it, you should have the following in rc.conf: natd_enable="YES" natd_interface="rl0" See natd(8) for more info. Cheers - Erick 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?20020907191118.GM31416>