firewall settings and dhcpd

Christoph P. Kukulies kuku at kukulies.org
Mon Apr 26 01:21:14 PDT 2004


On Sun, Apr 25, 2004 at 01:01:45PM +0100, Lewis Thompson wrote:
> On Sun, Apr 25, 2004 at 01:52:09PM +0200, Christoph P. Kukulies wrote:
> > On Sun, Apr 25, 2004 at 12:44:52PM +0100, Lewis Thompson wrote:
> > > On Sun, Apr 25, 2004 at 01:33:22PM +0200, Christoph Kukulies wrote:
> > > > I'm getting this in my log/messages:
> > > > 
> > > > Apr 25 13:25:42 mybox dhcpd: send_packet: Permission denied
> > > > 
> > > > Could it be that a certain firewall setting or something missing
> > > > would be causing this?
> > > 
> > > Possibly.  It might be worth including some details of your current
> > > firewall settings.
> > 
> > 	wiif="wi0"
> > 	winet="192.168.254.0"
> > 	wimask="255.255.255.0"
> > 	wiip="192.168.254.1"
> > 	setup_loopback
> 
> Which interface are you running dhcpd on?  If it is wi0 then I don't see
> any rule that lets wi0 send out DHCP packets (i.e. allow all from
> ${wiip} to any via ${wiif}).  It might be worth trying this (or similar,
> if it's a different if) and then narrowing it down.
> 
> -lewiz.

Thanks. I'm running ICS (?) dhcpd (not wide-dhcp) and I have two
subnet entries in /usr/local/etc/dhcpd.conf, one for 192.168.254 (wi0)
and the other on the local wire (192.168.0)

DHCP itself works. I'm getting an IP via DHCP on my notebook (wireless).
It's just that after a minute or two, the wireless connection
gets disrupted and the only thing I can correlate this, is the
dhcp permission denied error in /var/log/messages.

--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org


More information about the freebsd-questions mailing list