DHCP with ipfw
Sergei Gnezdov
use-reply-to at gnezdov.net
Thu Mar 24 21:21:18 PST 2005
/etc/rc.conf:
ifconfig_rl0="DHCP"
firewall_type="client"
firewall_enable="YES"
When my machine boots firewall is initialized before DHCP obtains IP
address. This results in incomplete firewall configuration. How do I
fix this?
My /etc/rc.firewall initialized with the following commands:
net=`ifconfig rl0 | grep "inet " | awk '{print $6}'`
mask="255.255.255.0"
ip=`ifconfig rl0 | grep "inet " | awk '{print $2}'`
More information about the freebsd-ipfw
mailing list