Click to See Complete Forum and Search --> : dhcp server and ipchains


csumb brad
03-13-2002, 11:48 PM
i have a dhcp server set up in red had 7.2. everything works perfectly if i do an ipchaind -F and open everything up, but for some reason i can't get it to work without doing that. i first tried opening up ports 67, both tcp and udp. when that failed i opened ports 0 through 49151 and it still didn't work. i then opened all the up to 65000 and it still didn't work. i know the rule itself works because it let my ftp server recieve traffic. any help would be awesome. thanks.

-bradly

Dagda
03-14-2002, 01:02 AM
Here is a chain that allows you to accept dhcp


ipchains -A input -i eth1 -p udp -s 0/0 67 -d 0/0 68 -j ACCEPT


You could also try this page (http://www.google.com/search?hl=en&ie=ISO-8859-1&oe=ISO-8859-1&q=dhcp+ipchains) for more info

[ 14 March 2002: Message edited by: Dagda ]

jumpedintothefire
03-15-2002, 12:30 AM
Sneek a peek at:
http://www.ecst.csuchico.edu/~dranch/LINUX/TrinityOS/cHTML/TrinityOS-c-10.html#ss10.7