[CentOS] DHCPd Config

Johnny Hughes mailing-lists at hughesjr.com
Wed Mar 30 13:21:37 UTC 2005


On Wed, 2005-03-30 at 14:10 +0100, Joao Medeiros wrote:
> I've read a number of articles, googled the web for a few months and
> now attempting at turning my CentOS box into a gateway for the third
> time. Configured my dhcpd.conf and other related files and all seems
> to be working, I can have my M$ desktop leasing an ip address and all.
> 
> The problem is when I want to go out to the internet I keep on getting
> the Request Timed out error.
> 
> I'm pretty sure I've followed the manuals to the letter. The hardware
> is working fine.
> 
> Any clues or pointers would be very much appreciated.
> 
> TIA,
> Joao

You need to do ip-masquerading to pass traffic thru a linux box as a
gateway.  That requires 2 NICs and an iptables script which does
masquerading

I use this script to setup that kind of box:
http://ldp.hughesjr.com/HOWTO/IP-Masquerade-HOWTO/stronger-firewall-examples.html#RC.FIREWALL-2.4.X-STRONGER


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20050330/514541a1/attachment.sig>


More information about the CentOS mailing list