Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux as Gateway

Status
Not open for further replies.

KSiva

Programmer
Feb 18, 2002
63
AU
Hi all,

A company uses Linux server (redhat 7.3) and I have been asked to upgrade to another new server. I have installed a new server and copied the configuration files from the old linux server (sendmail, networking, user accounts).

When I hooked new server up to the ADSL modem and LAN, it's perfect, I can send and receive internal and external emails from the server. But the problem is the internet for the windows client inside the office. They cant seems to be able to browse the internet. It's actually pinging the linux by ip address ( not by name ) and when I say ping google.com, it gets the first line where is says

Pinging google.com [216.239.57.99] with 32 bytes of data:

But I am not getting anything after that.

The windows clients are set to "Automatically detect setting". When I ping new linux server by IP address it's okay but not by name.

I know I am missing some configuration from the old server to new server so that the client windows machines can browse internet.

Does any one know what that could possibly causing this problem.

Siva


Sivakumar Kandaraj :)
System Administrator,Web Programmer
Melbourne
Australia.
 
What are you using to do your LAN/ADSL routing (iptables, ipchains, etc)?

Once, I had forgotten to allow port UDP53 (DNS) to be open for my internel LAN going out so nobody could do name lookups.

If you don't have SAMBA install with nmbd running, you can't ping your linux server by name, unless you have an internal DNS server that has the Linux box registered with it.

If you are using routing (not proxy), you do not need any proxy setup for your client machines to browse. You only need to include the IP of your Linux box under the GATEWAY setting in TCP/IP under Windows for all you machines.
 
Thanks mate,

I have got many response from others, and I am seems to be missing routing. I guess i need to run ip masquerading with ipchains.

Thanks for your reply,
Siva

Sivakumar Kandaraj :)
System Administrator,Web Programmer
Melbourne
Australia.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top