DHCP with ipfw
Martin
bts at iae.nl
Mon Apr 4 02:07:22 PDT 2005
ON 5+, you also have to open up the MAC layer FW:
ipfw add allow mac via xl0
If the DHCP server is slow and did not reply back before the
dhclient did continue the boot process, you maybe you do have
to reload the FW rules once your DHCP connection is established.
/Martin
On Fri, 25 Mar 2005 05:07:30 +0000 (UTC), Sergei Gnezdov wrote:
>/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}'`
>
>
>
>_______________________________________________
>freebsd-ipfw at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
>To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at freebsd.org"
More information about the freebsd-ipfw
mailing list