Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2002 04:11:31 -0500
From:      "Bob Hall" <rjhalljr@starpower.net>
To:        FreeBSD Questions List <freebsd-questions@freebsd.org>
Subject:   natd not loading
Message-ID:  <20021219091131.GA1634@sten.alder.net>

next in thread | raw e-mail | index | archive | help
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




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