Networking Forums

Networking Forums > Computer Networking > Linux Networking > Network access OK but server cannot use internet

Reply
Thread Tools Display Modes

Network access OK but server cannot use internet

 
 
George Hewitt
Guest
Posts: n/a

 
      08-02-2003, 03:51 PM

Ok hoping someone can help me, I have little hair left after this one...

I have a home network set up with a Redhat 8 box and 3 client PCs. The
redhat box has eth0 connected to the cable modem for Internet and eth1 as
the LAN which goes to a hub.

I have IP tables setup for NAT with Masquerading and forwards are accepted
from eth1. Inputs are also always accepted from eth1. Output policy is
ACCEPT, except for netbios stuff on eth0 which is dropped.

The problem is that client machines can use the internet no problem through
the server, but the server can not use the internet itself?!? Pages and
things keep timing out etc. Cannot ping using name or IP. My mailserver
(external) on the box can receive mail but cannot send at all (DNS
failiure). My ISP doesn't block any of this stuff, I know that for a fact.

Any ideas??

--



 
Reply With Quote
 
 
 
 
George Hewitt
Guest
Posts: n/a

 
      08-02-2003, 06:05 PM
Ha! That did it, thanks a million!

--

"Ian Northeast" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> George Hewitt wrote:
> >
> > Ok hoping someone can help me, I have little hair left after this one...
> >
> > I have a home network set up with a Redhat 8 box and 3 client PCs. The
> > redhat box has eth0 connected to the cable modem for Internet and eth1

as
> > the LAN which goes to a hub.
> >
> > I have IP tables setup for NAT with Masquerading and forwards are

accepted
> > from eth1. Inputs are also always accepted from eth1. Output policy is
> > ACCEPT, except for netbios stuff on eth0 which is dropped.
> >
> > The problem is that client machines can use the internet no problem

through
> > the server, but the server can not use the internet itself?!?

>
> Have you omitted the state matching rule to allow responses back in the
> *input* chain? E.g.:
>
> iptables -A INPUT -i $EXTIF -m state --state ESTABLISHED,RELATED -j
> ACCEPT
>
> Regards, Ian



 
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to access Internet through a ISA server in a LAN? David Shen Linux Networking 2 05-02-2008 06:39 AM
Allowing Internet Access to Workstations with 2003 Server network C Bork via WinServerKB.com Windows Networking 3 11-07-2005 12:15 AM
Iptables - nat and internet access from server carlos.yanez.s@gmail.com Linux Networking 1 03-12-2005 07:28 PM
How do I let people access the internet via an access point but not allow them access to my network yar Wireless Networks 3 09-21-2004 03:48 AM
Server 2003 access the internet =?Utf-8?B?SnN3ZW5zb24=?= Windows Networking 2 08-15-2004 02:22 PM



1 2 3 4 5 6 7 8 9 10 11