Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 18th February 2008, 19:29
aaa999 aaa999 is offline
Join Date: Nov 2007
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default dns,dhcp,gatway,and nat for linux server


I need to setup a linux server for following.

dns,dhcp,gateway and nat, personal use.

what linux os.

can you point me to the right direction.

new to LINUX.

Reply With Quote
Sponsored Links
Old 19th February 2008, 09:28
Ben Ben is offline
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts

first of all, if you are new to linux, you should already keep in mind to invest lots of time, to find out solutions for you questions, other may have answers or not.

Which distribution is up to you. For server use I would prefer CentOS or Debian (or Debian-"likes", e.g. Ubuntu for Server).

Especially for the tasks you described, you might think of projects like fli4l, etc. that use linux + config only for such purpose.

You also may find howto for each purpose you described here at howtoforge.
DNS: http://www.howtoforge.com/howtos/dns
DHCP+Router/NAT: http://www.howtoforge.com/home-gatew...haring-centos5
Reply With Quote
Old 19th February 2008, 09:38
thecaoticone thecaoticone is offline
Join Date: Nov 2007
Posts: 89
Thanks: 1
Thanked 18 Times in 16 Posts

Just about any Linux distro can do what you need. I personally have had better luck with Ubuntu and Debian. I am currently running Ubuntu 7.10 server edition (no gui).

If you prefer a GUI then you can use Ubuntu, Kubuntu, or Xubuntu. Each one has a terminal for using command line copy and paste used in most server related guides. For desktops I prefer to use the "Alternate Install CD" .

Ubuntu ( server and desktop versions ) :



If you use the Ubuntu 7.10 server install, follow this guide to page 3 stop when you finish step 8.


For setting up network cards:

For the gateway / nat initial setup:


and for the firewall script at boot:


For DHCP server:
( this uses synaptic for a desktop gui to install dhcp3-server, for a server set-up use "sudo apt-get install dhcp3-server" on the terminal command line )


For DNS server:


Hope this helps.
Reply With Quote
Old 19th February 2008, 15:29
aaa999 aaa999 is offline
Join Date: Nov 2007
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ben and Coaticone

Thanks for all your info.

I will try centos.

thanks again.
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
Terrible server speeds gAnDo HOWTO-Related Questions 3 14th February 2008 19:31
Rejecting outbound mail tristanlee85 General 11 20th May 2007 18:04
Dns question Mahir Installation/Configuration 48 14th November 2006 11:19
Webmail Relay Error palkat General 17 23rd April 2006 19:12
from http to https after installation? Mahir Installation/Configuration 25 7th December 2005 21:40

All times are GMT +2. The time now is 13:48.

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