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.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th July 2010, 00:50
j.smith1981 j.smith1981 is offline
Member
 
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:

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

subnet 192.168.0.0 netmask 255.255.255.0 {

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

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

	option time-offset		-18000;	# Eastern Standard Time
#	option ntp-servers		192.168.1.1;
#	option netbios-name-servers	192.168.1.1;
# --- 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 192.168.0.128 192.168.0.254;
	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;
		fixed-address 192.168.0.2;
	}
}
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,
Jeremy.
Reply With Quote
Sponsored Links
  #2  
Old 6th August 2010, 11:34
j.smith1981 j.smith1981 is offline
Member
 
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,
Jeremy.
Reply With Quote
Reply

Bookmarks

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 14:22.


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