Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 24th July 2010, 00:50
j.smith1981 j.smith1981 is offline
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Question Possible DHCP server and gateway (got DHCP server working though)

I would like to know the best tutorial for setting up a decent DHCP server for some kind of maybe hardware firewall?

I have setup the DHCP server though to get it on my Linux box using Centos v4 but thats all I have done.

Cant believe how simple it really was, here's my config anyways:

# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
ddns-update-style interim;
ignore client-updates;

subnet netmask {

# --- default gateway
	option routers;
	option subnet-mask;

	option nis-domain		"hsmedia.co.uk";
	option domain-name		"hsmedia.co.uk";
	option domain-name-servers;

	option time-offset		-18000;	# Eastern Standard Time
#	option ntp-servers;
#	option netbios-name-servers;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
#	option netbios-node-type 2;

	range dynamic-bootp;
	default-lease-time 21600;
	max-lease-time 43200;

	# we want the nameserver to appear at a fixed address
	host ns {
		next-server hsmedia.co.uk;
		hardware ethernet 00:06:4F:65:D7:AF;
Is this the best way to do the DHCP server part, how would I secure websites being received by the server, ie to help prevent malicious attacks on my work computers so they dont get hacked, ie using some kind of hardware firewall?

I would really appreciate how to firm this system up so I can not have to bother with firewalls on my computer preferably.

I look forward to your replies,
Reply With Quote
Sponsored Links
Old 6th August 2010, 11:34
j.smith1981 j.smith1981 is offline
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Thumbs up

I have sorted it.

Just used an example off the web for the proper dhcp configurations.

This one wasnt behaving (the example above), the way I wanted it to, but it is now.

Thanks for everyone whos had a look and tried something out though, but just wanted to close this post.

Kind regards,
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Ping over VPN RoMiONeT Server Operation 2 4th July 2010 01:19
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 15:49
Migrating server setup to a new block of IPs and Gateway dpicella HOWTO-Related Questions 2 27th October 2009 17:22
NAT Gateway, Iptables, Port Forwarding, DNS And DHCP Setup - Ubuntu 8.10 Server av1611 HOWTO-Related Questions 1 31st August 2009 13:10
Centos as Gateway server. ruben23 Server Operation 6 15th October 2008 18:22

All times are GMT +2. The time now is 15:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.