Anyway to run DHCP without Shorewall?
I'm running Mandrake 9.1 and thier DHCP server setup automatically runs Shorewall. I have no need for a firewall, infact it's more of a headache then it's worth at this point.
When I turn shorewall off all the rest of the machines on the network have no internet access at all... :scratch: My Setup is pretty standard... eth0 connects to my cable modem eth1 connects to my hub, which several other windows machines dhcp from. I just want to run DHCP without blocking ANY ports!!!!! Anyway to run it without Shorewall?!?!? |
Sorry, I guess this more belongs in the "Security" Forum... I guess you can close this... Anyone have an ANSWER though?!?!?!?
|
I have dhpcd running without a firewall of any kind. just edit /etc/dhcpd.conf and run /usr/sbin/dhcpd -- at least on my slack boxes, that's the way to do it -- I assume dhpcd is hiding in the same place on Mandrake.
|
Well, thank you for your assistance, however I'm not exactly sure what you mean... I've been around linux for some time now, but this FIrewall and DHCP stuff is all new to me. Could you be a bit more descriptive, maybe even post examples of what your refering to as far as what settings I should have in the dhcpd.conf, etc ...
|
You need to read the following man pages:
dhcpd dhcpd.conf Blindly copying configuration files will just get you into trouble, things can be very site specific. There are numerous examples in the dhcpd.conf man page, some of which are, actually, usefull. Once you've edited /etc/dhcpd.conf to your satisfaction, you run (as root) /usr/sbin/dhcpd. It's a relatively smart daemon and will probably tell you if the settings are grossly wrong. If you've already set up your firewall and dhcpd stuff using shorewall, you may not have to bother with editing /etc/dhcpd.conf. Once you've decided that the settings are right, you may want to make dhcpd run at startup. To do this, you have to add it to the startup scripts. There is probably some GUI config tool that will "help" you do this, but if you want to be certain it works, you can edit files in /etc/sysconf and /etc/rc#.d (# is a number, probably 3 for you). |
No one said anything about blindly copying configurations, I just wanted an example to see how a proper 2 eth card setup would look like.
Those man's are pages and pages long and go into the creation of the center of the universe and who knows what... all it did was confuse me more. I learn best by seeing a correct example, and then from there I can learn what does what and make changes on my own... Does anyone have a working dhcpd.conf example of a DHCP server running eth0 to the net and eth1 locally with no firewall invloved? |
Code:
# dhcpd.conf |
All times are GMT -5. The time now is 11:20 AM. |