IPF + ADSL + DHCP : dhclient / no route to host

Jun 01, 2005 1 Replies

Hi,



I am a very newbie to firewalls. I just want to protect my ADSL connexion for a very simple client usage. I found an ipf.rules file on inernet and adapted it for my purposes. It works fine, but from time to time I get on the console :



Jun 1 14:22:48 dhclient: send_packet: No route to host



My ipf.rules has # [dhclient] pass in quick on sis0 proto udp from any to any port = 67 keep state keep frags pass in quick on sis0 proto udp from any to any port = 68 keep state keep frags



(two lines, because I was not sure wether the port was 67 or 68)



Any idea ?



Regards,


Le 01-06-2005, Thomas Baruchel a écrit :

OK, I read the RFC for the DHCP protocol and found that port 67 is out while port 68 is in :

pass out quick on sis0 proto udp from any to any port = 67 keep state pass in quick on sis0 proto udp from any to any port = 68 keep state

Now it seems to work fine.

Regards,

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required