From owner-freebsd-questions Thu Dec 19 1:11:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0931A37B401 for ; Thu, 19 Dec 2002 01:11:52 -0800 (PST) Received: from smtp03.mrf.mail.rcn.net (smtp03.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44E9843ED4 for ; Thu, 19 Dec 2002 01:11:51 -0800 (PST) (envelope-from rjhalljr@starpower.net) Received: from 66-44-54-29.s29.tnt1.lnhva.md.dialup.rcn.com ([66.44.54.29] helo=sten.alder.net) by smtp03.mrf.mail.rcn.net with smtp (Exim 3.35 #4) id 18Owib-0003Xv-00 for freebsd-questions@freebsd.org; Thu, 19 Dec 2002 04:11:50 -0500 Received: by sten.alder.net (sSMTP sendmail emulation); Thu, 19 Dec 2002 04:11:31 -0500 Date: Thu, 19 Dec 2002 04:11:31 -0500 From: "Bob Hall" To: FreeBSD Questions List Subject: natd not loading Message-ID: <20021219091131.GA1634@sten.alder.net> Mail-Followup-To: Bob Hall , FreeBSD Questions List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Natd has stopped loading on startup (Freebsd 4.4). After adding some new apps that load on start up (Squid and Dansguardian), natd fails to start and the ipfw rules aren't loaded. I can start natd manually and load the rules, but this is a bit of a pain. I also have to start Dansguardian manually, since it quits when the default ipfw deny prevents it from connecting to squid. I get the following startup error messages after the kernal (dmesg) messages: Dec 19 01:40:54 sten nfsd:[185]: can't register with udp portmap rpc.statdCannot register service: RPC: Unable to send; errno = Permission denie d rpc.statd: unable to register (SM_PROG, SM_VERS, udp) ... Dec 19 01:41:12 sten dansguardian: Error creating connection to test proxy Aside from the dansguardian error, I don't know if they have anything to do with the problem. This happens whether the firewall type is OPEN or SIMPLE in rc.conf. I have to have the firewall because I'm using NAT (obviously). The nat flag is -dynamic and the interface is ppp0. The problem still occurs if I restore rc.conf and rc.firewall back to their settings before the problem occured. The only changes were the switch from OPEN to SIMPLE and the addition of a couple of lines in rc.firewall to allow transparent caching. Once I've manually started and loaded everything, it works fine. If anyone can offer some diagnostic help, I'd be grateful. I'd also like to figure out what's going on with rpc.statd, even if it has nothing to do with my network problem. Bob Hall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message