[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: allow dhcp in pf
From:       Otto Moerbeek <otto () drijf ! net>
Date:       2009-11-24 14:45:25
Message-ID: 20091124144525.GJ9708 () vera ! drijf ! net
[Download RAW message or body]

On Tue, Nov 24, 2009 at 03:37:58PM +0100, Andreas Mueller wrote:

> openbsd@e-solutions.re wrote:
> > Hello
> > 
> > i added theses lines :
> > pass in on $int_if inet proto { tcp, udp } from any to $gw_obsd port 67
> > pass in on $int_if inet proto { tcp, udp } from any to $gw_obsd port 68
> Clients most certainly don't send dhcp request packets to your gateway
> but to multicast, so set destination to 255.255.255.255.
> 
> > 
> > my dhcpd.conf is a standard config...
> > my hostname.bge0 :
> > inet 192.168.0.1 255.255.255.0 NONE
> > 
> > if i configure a machine with static ip address, all works fine.
> > Using DHCP is not possible, pf block it, and i don't understand why...
> > Can you help me please ?
> 
> Andreas

No no no, listen to what claudio wrote. dhcp packets are grabbed by
dhclient or dhcpd before pf sees them. 

	-Otto

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic