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

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,

Reply to
Thomas Baruchel
Loading thread data ...

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,

Reply to
Thomas Baruchel

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.