ipfw natd rules not loading on startup

umage theultramage at gmail.com
Sat May 15 00:33:27 UTC 2010


I performed a kernel+world update of my freebsd router, RELENG_8 branch,
apparently from the version 6 months ago to current. I use ipfw and a
shell script that gets loaded at startup. I noticed after rebooting that
ipfw did not load two rules, both of type "divert natd". However, if I
run the script manually, or call it from the end of /etc/rc, it will add
these rules as well. Currently I am using a workaround.

I could not find any mention of warnings or errors in the logs. I
couldn't find any way of making ipfw log errors. I tried piping my
script's output to a file, but it did not say anything useful. Noone I
asked knew what to do. I noticed that there has been a revamp of ipfw
and its supporting scripts recently, so it's possible something broke
along the way (for example, a missing rc dependency on natd?).

Advice would be appreciated.


More information about the freebsd-questions mailing list