natd not starting on boot-up
pnestora at ee.duth.gr
Wed Jun 7 11:32:11 UTC 2006
Roger Merritt wrote:
> I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD
> system to a new hard drive. Through laziness I didn't follow the
> instructions and had to make a completely new install. Everything now
> seems to be working the way it should, Apache, MySQL, PHP, syslog,
> Samba -- except natd. Everything starts on boot-up as it should --
> except natd. I can start it manually from the command line after
> booting up and logging in and it works fine, but I can't tell what's
> going on that it's failing to start.
> My /etc/rc.conf contains the following:
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> ifconfig_ed0="inet 10.3.16.125 netmask 255.255.255.0"
> ifconfig_ed1="inet 126.96.36.199 netmask 255.255.255.0"
> What can I do to get some indication of where the problem is?
Try to comment the line natd_enable="YES" and then add
a new line at the end of rc.conf:
if this doesn't work, try to put
in your rc.conf and plesase check your ipfw rule for nat
it should be something like this:
ipfw -q add divert natd all from any to any via your_public_interface
More information about the freebsd-questions