[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP and iptables



On Thu, Aug 23, 2001 at 11:05:33PM +1000, mdevin@ozemail.com.au wrote:

Hi,

> Can someone give me some  iptables  rules  for  specifically  allowing
> dhclient to function properly with a cable  connection.  I  have  been
> reading about how DHCP works and I don't understand it fully.

 iptables -A INPUT -i $ETH -p tcp -s $DHCPSERVER --source-port 67 --destination-port 68 -j ACCEPT

works fine for me.

Cheer.

-- 
Igor Genibel 
http://www.tuxfamily.org/			     igor@tuxfamily.org
http://people.debian.org/~igenibel		    igenibel@debian.org
GPG: 1024D/9D735B4F: 4F61 8D8F 05AC 8D2C 5F92  9B99 C44B 0266 9D73 5B4F



Reply to: