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.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th December 2009, 18: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 - 92.114.182.200 - the IP ADDRESS PROVIDED from the ISP DHCP (this is external network) DNS provided by the ISP:
nameserver1 > 212.0.219.131
nameserver2> 212.0.209.3

eth 01 -192.168.100.254 this is internal network.

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

!!! DNS servers:
nameserver1 > 212.0.219.131
nameserver2> 212.0.209.3
(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 192.168.100.254 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
  #2  
Old 4th January 2010, 09:51
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

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
Reply

Bookmarks

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


All times are GMT +2. The time now is 09:30.


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