On Wed, 18 Apr 2001, Ken Cole wrote:
> Hi All,
>
> I have just configured dhcpd on a RH5.2 server as per the
> mini-howto by Vladimir Vuksan. Very helpfull.
>
> All appears to be working except my firewall rules are
> stopping the packets getting to the dhcp server.
>
> in /var/log/kernel I am getting:
>
> kernel: IP fw-in rej eth0 0.0.0.0:68 255.255.255.255:67
> L=328 S=0x00 I=5632 F=0x0000 T=128
>
> My local network is 192.168.1 subnet with a ppp0 to the
> outside world.
>
> I need to allow for the dhcp request packets but only on
> the internal network.
>
> Thanks
>
>
>
> Ken Cole
>
>
I am a bit rusty with ipfwadm, but I'll give it a try.
ipfwadm -I -a accept -P udp -S 0.0.0.0:68 -W eth0
ipfwadm -O -a accept -P udp -S 192.168.1.0/24:67
ipfwadm -I -a deny -P udp -S 0.0.0.0/0 67:69 -W ppp0
ipfwadm -O -a deny -P udp -S 0.0.0.0/0 67:69 -W ppp0
If you want to test the rules by adding them to an running firewall, use
-i instead of -a, so the rules go to the top of the match list.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list