From owner-freebsd-current@FreeBSD.ORG Sat Feb 28 16:21:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7881416A4CE; Sat, 28 Feb 2004 16:21:51 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 641D543D2F; Sat, 28 Feb 2004 16:21:51 -0800 (PST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: from dibbler.crodrigues.org (h00609772adf0.ne.client2.attbi.com[66.31.45.197]) by comcast.net (rwcrmhc13) with ESMTP id <200402290021500150047vsje>; Sun, 29 Feb 2004 00:21:50 +0000 Received: from dibbler.crodrigues.org (localhost.crodrigues.org [127.0.0.1]) i1T0LmQT001443; Sat, 28 Feb 2004 19:21:48 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.crodrigues.org (8.12.11/8.12.10/Submit) id i1T0LlxB001442; Sat, 28 Feb 2004 19:21:47 -0500 (EST) (envelope-from rodrigc) Date: Sat, 28 Feb 2004 19:21:47 -0500 From: Craig Rodrigues To: Vincent Poy Message-ID: <20040229002147.GA1351@crodrigues.org> References: <20040228131212.G8264-100000@oahu.WURLDLINK.NET> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040228131212.G8264-100000@oahu.WURLDLINK.NET> User-Agent: Mutt/1.4.1i cc: alc@freebsd.org cc: Robert Watson cc: current@freebsd.org cc: Kris Kennaway Subject: Re: HEADSUP: Sleep queues added to kernel, so be careful. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 00:21:51 -0000 Hi, I just cvsup'd my box, and am having the same problem as Vincent. I have these lines in my /etc/rc.conf: firewall_type="open" natd_enable="YES" natd_interface="xl0" natd_flags="-redirect_port tcp 192.168.0.2:80-9000 80-9000 -redirect_port tcp 19 2.168.0.3:80-9000 80-9000" If I capture the boot output with: vidcontrol -H -P > bootup.txt I see these lines: Flushed all rules. 00050 divert 8668 ip from any to any via xl0 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 65000 allow ip from any to any Firewall rules loaded, starting divert daemons: natd: Unable to bind divert socket.: Can't assign requested address . net.inet.ip.fw.enable: 1 -> 1 I added some additional statements to /etc/rc.d/ipfw so that it prints out the natd command: Firewall rules loaded, starting divert daemons: natd: /sbin/natd -redirect_port tcp 192.168.0.2:80-9000 80-9000 -redirect_port tcp 192.168.0.3:80-9000 80-9000 -dynamic -n xl0 natd: Unable to bind divert socket.: Can't assign requested address . net.inet.ip.fw.enable: 1 -> 1 After bootup, if I execute /sbin/natd from the command-line, I do not get this error message. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org