Hi folks,
I recently helped someone set up a FreeBSD 4.x firewall using a wireless
Lucent pccard NIC. The device name happens to be wi0.
The FreeBSD startup scripts don't do a good job of handling ipfilter and
ipnat with pccard NICs; ipfilter and ipnat rules are loaded before the
NIC is spotted by pccardd.
However, FreeBSD does allow you to create a custom /etc/start_if.wi0
script, which is called when the wi0 device is instantiated.
So my question is, can I get away with a simple
/sbin/ipf -y
in /etc/start_if.wi0, or do I need to go the whole hog with
/sbin/ipf -Fa -f /etc/ipf.rules
/sbin/ipnat -C -f /etc/ipnat.rules
?
Thanks,
Sheldon.