Linux Netfilter discussions
 help / color / mirror / Atom feed
* DHCP IssuesB
@ 2003-03-20 14:46 Tim Miller
  2003-03-20 15:18 ` Kelly Setzer
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Miller @ 2003-03-20 14:46 UTC (permalink / raw)
  To: NetFilter List


I'm pretty new to netfilter so bear with me.  I have a server that has a
quad card, currently the card is configured:

eth0 -> internet
eth1,eth2 -> not active (yet)
eth3 -> internal lan 10.2.0.0/24 network

I am running dhcpd on eth3 and everything works ok, except for the
renewing of addresses.  For example:

1. Connect a laptop to the network and power up, get an address ok.
2. Release the address and then renew the address, get an address ok.
3. Perform a renew on the laptop and it fails.

My rules are setup as follows:

iptables -A INPUT -i eth3 -p udp -s 0.0.0.0 --sport 68 -d 255.255.255.255
	--dport 67 -j ACCEPT
iptables -A INPUT -i eth3 -p udp -s 0.0.0.0 --sport 68 -d 10.2.0.1
	--dport 67 -j ACCEPT
iptables -A INPUT -i eth3 -p udp -s 10.2.0.0/24 --sport 68 -d 10.2.0.1
	--dport 67 -j ACCEPT

iptables -A OUTPUT -i eth3 -p udp -s 0.0.0.0 --sport 67 -d 255.255.255.255
	--dport 68 -j ACCEPT
iptables -A OUTPUT -i eth3 -p udp -s 10.2.0.1 --sport 67
	-d 255.255.255.255 --dport 68 -j ACCEPT
iptables -A OUTPUT -i eth3 -p udp -s 10.2.0.1 --sport 67 -d 10.2.0.0/24
	--dport 68 -j ACCEPT

Does this make sense? What am I missing?

Thanks

-- 
-Tim Miller

"You are who you become"

Email: tj.miller@javaspotlet.com
Registered Linux User #302727


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-20 16:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-20 14:46 DHCP IssuesB Tim Miller
2003-03-20 15:18 ` Kelly Setzer
2003-03-20 16:33   ` DHCP Issues Tim Miller
2003-03-20 16:45     ` Kelly Setzer
2003-03-20 16:49       ` Tim Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox