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 29th December 2009, 19:21
Sorin Sorin is offline
Junior Member
Join Date: Dec 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy CENTOS 2 in 1 - Web Server + Internet giver (router role)

Hello guys!
I'm new in Linux.. and try find the solution, so look whats the problem. First of all - what we have:

- PC (With CentOS 5.3 installed and configured as a web server LAMP), also it has 2 NIC interfaces.
eth0 - - the IP ADDRESS PROVIDED from the ISP DHCP (this is external network) DNS provided by the ISP:
nameserver1 >

eth 01 - this is internal network.

- And there is a laptop (Windows XP OS)... connected to the eth01 through cable.
the network config:
IP :
Gateway> (my server ip eth 01 nic)

!!! DNS servers:
nameserver1 >
(I wrote them as on the server)

okay.. now I try ping.. it is all ok.. the packets are going in and out.. no loss.
hmmm the network is working! great!
Now, I want Internet on my laptop, I open Internet Explorer and I'm trying to open google.com... hmm it doesn't work, so.. than I write in proxy of Internet Explo the IP Port 80
saved.. now introucing google.com in browser)) and i'm getting the apache welcome page from my server, I don't know what to try else. please help me to get the internet on laptop.Thx a lot guys!
Reply With Quote
Sponsored Links
Old 4th January 2010, 10:51
topdog topdog is offline
Senior Member
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts

When you ping external addresses can you go thru ? It seems like a NAT and forwarding issue to me. You need to allow ip forwarding on your centos server as well as configure NAT.

About the proxy, by default apache does not proxy pages to outside networks as a security measure. if you want to use apache as a proxy you should configure it first.
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote


2 pc network linux, centos, internet

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
apache2 won't connect to localhost or anw Server Operation 6 19th March 2009 19:51
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 16:44
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 09:29
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30
Server can't "see" the internet Luciano Installation/Configuration 8 23rd August 2005 00:22

All times are GMT +2. The time now is 00:07.

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