I have a small home LAN with a FreeBSD 6 machine as the router. I got
NAT to work, otherwise I wouldn't be posting this. But I can't get port
redirection to work.
...
# restart ipf
/etc/rc.d/ipfilter restart
/etc/rc.d/ipnat restart
No luck. Ideas?
I don't know about FreeBSD, but by "default", and I use the term loosely
here, ipf and ipnat conf files are:
/etc/opt/ipf/ipf.conf
/etc/opt/ipf/ipnat.conf
File locations notwithstanding, note the .conf suffixes of the confg files.
Perhaps your ipf and ipnat are looking for them with those names.
Can you fire up something like `truss` on FreeBSD to see where ipf is
looking for the config file, and what it expects the config file to be
named?