On Tue, Nov 24, 2009 at 04:16:06PM +0400, open...@e-solutions.re wrote: > Hello, > > I installed openbsd 4.5, with 2 NICs : rl0 ; rl1 > rl0 connected directly with internet > rl1 our network. > > > I configured dhcp and and added it in my rc.conf.local. Restarted the > openbsd box. > In my pf.conf, i added this line : > pass in on $int_if inet proto { tcp, udp } from any to $gw_obsd port 67 > keep state > > All works but machines in network can't have address from my dhcp server > (openbsd Gateway). > How to allow dhcp in pf.conf ?
Neither dhcpd nor dhclient need any pass rules in pf. Both tools use bpf to steal the packets before they're checked by pf. -- :wq Claudio