Home LAN and Apache : Can't connect to Apache from Internet

Home LAN and Apache : Can't connect to Apache from Internet

Post by Ajay Agrawa » Wed, 22 Aug 2001 09:25:44



Folks,

I have a simple Home Network Setup.

Box A   :  Redhat 7.1 + Apache
Box B   : Windows

B-----(eth1) A (eth0)---(Internet)

I can do everything in this network but I can't access the Apache from the
Internet.
I can access the web server on A from my Local LAN(A).  I can'r even ssh to
A
from outside.

Here is my ipchains-save output.
------------------------------------
:input ACCEPT
:forward ACCEPT
:output ACCEPT
Saving `input'.
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 25:25 -p 6 -j ACCEPT -y
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 80:80 -p 6 -j ACCEPT -y
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 21:21 -p 6 -j ACCEPT -y
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 22:22 -p 6 -j ACCEPT -y
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 23:23 -p 6 -j ACCEPT -y
-A input -s 0.0.0.0/0.0.0.0 67:68 -d 0.0.0.0/0.0.0.0 67:68 -i eth0 -p 17 -j
ACCEPT
-A input -s 0.0.0.0/0.0.0.0 67:68 -d 0.0.0.0/0.0.0.0 67:68 -i eth1 -p 17 -j
ACCEPT
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -i lo -j ACCEPT
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -i eth0 -j ACCEPT
Saving `forward'.
-A forward -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -j MASQ

WHAT AM I DOING WRONG..  Even if I turn ipchains off, I still can;t get it
to work.
My iptables is off also.

Thanks All

Ajay

 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by Ajay Agrawa » Wed, 22 Aug 2001 09:41:02


Sorry..

the ipchains-save output is
---------------------------------
:input ACCEPT
:forward ACCEPT
:output ACCEPT
Saving `input'.
-A input -s 0.0.0.0/0.0.0.0 68:68 -d 0.0.0.0/0.0.0.0 67:67 -i eth0 -p 17 -j
ACCEPT
Saving `forward'.
-A forward -s 192.168.1.0/255.255.255.0 -d 0.0.0.0/0.0.0.0 -j MASQ

Thanks


Quote:> Folks,

> I have a simple Home Network Setup.

> Box A   :  Redhat 7.1 + Apache
> Box B   : Windows

> B-----(eth1) A (eth0)---(Internet)

> I can do everything in this network but I can't access the Apache from the
> Internet.
> I can access the web server on A from my Local LAN(A).  I can'r even ssh
to
> A
> from outside.

> Here is my ipchains-save output.
> ------------------------------------
> :input ACCEPT
> :forward ACCEPT
> :output ACCEPT
> Saving `input'.
> -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 25:25 -p 6 -j ACCEPT -y
> -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 80:80 -p 6 -j ACCEPT -y
> -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 21:21 -p 6 -j ACCEPT -y
> -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 22:22 -p 6 -j ACCEPT -y
> -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 23:23 -p 6 -j ACCEPT -y
> -A input -s 0.0.0.0/0.0.0.0 67:68 -d 0.0.0.0/0.0.0.0 67:68 -i eth0 -p
17 -j
> ACCEPT
> -A input -s 0.0.0.0/0.0.0.0 67:68 -d 0.0.0.0/0.0.0.0 67:68 -i eth1 -p
17 -j
> ACCEPT
> -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -i lo -j ACCEPT
> -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -i eth0 -j ACCEPT
> Saving `forward'.
> -A forward -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -j MASQ

> WHAT AM I DOING WRONG..  Even if I turn ipchains off, I still can;t get it
> to work.
> My iptables is off also.

> Thanks All

> Ajay


 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by Matthew Mill » Wed, 22 Aug 2001 11:32:46



>I can do everything in this network but I can't access the Apache from the
>Internet.

Who is your ISP? They're probably blocking port 80 because of the Code Red
worm.

--

Boston University Linux      ------>                <http://linux.bu.edu/>

 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by Ajay Agrawa » Wed, 22 Aug 2001 21:36:15


It's Road Runner from COX.  I am not sure whether they are blocking Port 80
or not.  But not even ssh work..



> >I can do everything in this network but I can't access the Apache from
the
> >Internet.

> Who is your ISP? They're probably blocking port 80 because of the Code Red
> worm.

> --

> Boston University Linux      ------>                <http://linux.bu.edu/>

 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by Matthew Mill » Fri, 24 Aug 2001 12:26:26



>It's Road Runner from COX.  I am not sure whether they are blocking Port 80
>or not.  But not even ssh work..

I'm pretty sure RR is now blocking port 80, for what that's worth.

--

Boston University Linux      ------>                <http://linux.bu.edu/>

 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by Doug Holt » Sun, 26 Aug 2001 08:02:46


My roadrunner in Milwaukee is not blocked.  My web server is running just
fine.
If you are running R H 7.0, try downloading pmfirewall from pointman.org and
install it.  It will "fix" ipchains to allow masquerading for internal
machines and allow http, smtp, ssh access as you install it.
Doug


> >It's Road Runner from COX.  I am not sure whether they are blocking Port
80
> >or not.  But not even ssh work..

> I'm pretty sure RR is now blocking port 80, for what that's worth.

> --

> Boston University Linux      ------>                <http://linux.bu.edu/>

 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by Ajay Agrawa » Mon, 27 Aug 2001 05:51:33


Thanks Doug for pointing me out to the great tool(pmfirewall).

BTW..  Stupid roadrunner in VA blocks port 80 traffic.  I am now ruunning it
on port 81 and it seems to work OK..

Thanks again

Ajay


> My roadrunner in Milwaukee is not blocked.  My web server is running just
> fine.
> If you are running R H 7.0, try downloading pmfirewall from pointman.org
and
> install it.  It will "fix" ipchains to allow masquerading for internal
> machines and allow http, smtp, ssh access as you install it.
> Doug



> > >It's Road Runner from COX.  I am not sure whether they are blocking
Port
> 80
> > >or not.  But not even ssh work..

> > I'm pretty sure RR is now blocking port 80, for what that's worth.

> > --


<http://www.mattdm.org/>
Quote:> > Boston University Linux      ------>

<http://linux.bu.edu/>

- Show quoted text -

 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by Ajay Agrawa » Mon, 27 Aug 2001 05:53:36


U are right.  They are blocking it.  I ran httpd on port 81 and now users
can access my apache.  But I would still like it to be transparent to the
web..  I donnnow how to do it.  May be some forwarding service would do the
job.

Thanks agaain

ajay



> >It's Road Runner from COX.  I am not sure whether they are blocking Port
80
> >or not.  But not even ssh work..

> I'm pretty sure RR is now blocking port 80, for what that's worth.

> --

> Boston University Linux      ------>                <http://linux.bu.edu/>

 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by Matthew Mill » Tue, 28 Aug 2001 00:33:25



>U are right.  They are blocking it.  I ran httpd on port 81 and now users
>can access my apache.  But I would still like it to be transparent to the
>web..  I donnnow how to do it.  May be some forwarding service would do the
>job.

Having a port number should be moderately transparent; you just have to
include it in the url, like:

  http://www.example.org:81/

I imagine that a forwarding service like pobox.com would work nicely too...
I don't know if there are any free services like that around anymore, but
there probably are somewhere....

--

Boston University Linux      ------>                <http://linux.bu.edu/>

 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by MumblyWalke » Tue, 28 Aug 2001 22:30:18


Try www.no-ip.com


says...

Quote:> I don't know if there are any free services like that around anymore, but
> there probably are somewhere....

 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by Ajay Agrawa » Wed, 29 Aug 2001 10:15:55


Found another

http://www.dhs.org

Thanks

Ajay


> Try www.no-ip.com


> says...
> > I don't know if there are any free services like that around anymore,
but
> > there probably are somewhere....

 
 
 

Home LAN and Apache : Can't connect to Apache from Internet

Post by Nony » Wed, 29 Aug 2001 11:01:06


www.dns2go.com
www.dyn.ca


> Found another

> http://www.dhs.org

> Thanks

> Ajay



> > Try www.no-ip.com


> > says...
> > > I don't know if there are any free services like that around anymore,
> but
> > > there probably are somewhere....

 
 
 

1. IE4/5 won't connect to Apache server over LAN

To quote the bloke from Ally McBeal - I am troubled.
I am a freelance website designer who is looking into the web hosting arena,
and hence I now have the latest Apache distribution with the Apache-SSL to
match. I have all this up and running fine - I can access the server from
Netscape on the server and from a Linux client, but my Win98 client just
won't do it. In theory this isn't down to Win98 networking options, as I'm
running SMB and mounting Linux filesystems fine, it's just that as soon as
the OS gets wind of an http:// connection rather than a file:// one, it
dials out through my modem, fails to find a DNS server which will tell it
where to find my IP address, and complains. This also happens if I tell it
to visit http://192.168.223.11, which is the LAN IP address of my server. I
have put an entry in the windows 'hosts' file, to no avail, and when I tell
it to refer to the DNS server on my LAN, ie LAN DNS, ISP DNS, ISP DNS2, it
just can't resolve a single hostname, so I have to disable DNS support for
the TCP/IP protocol.
    This is all rather disturbing - I was looking forward to getting the
FrontPage Extensions for UNIX installed on Apache and using that as my
'working' server, which FrontPage requires to work, and getting a look at
how it works on the server while I was at it.
    If anyone out there knows what's wrong with this setup, then I'd love to
know, as I'm buggered if I'm paying MicroSoft 35 to find out, if not only
because they'll probably tell me something about getting a WindowsNT
Enterprise server (the most expensive model, I believe), or that they don't
know anything about UNIX intranets. If Explorer is supposed to be great for
intranets, why's it throw a wobbler if it's asked to browse one, that's what
I'd like to know...

    Yours cyberspatially,
                    Jim Dovey,  Javaccino Development
(http://www.javaccino.com/)

2. Performance test utilities for Linux ?

3. connecting to the internet with @home (lan setup)

4. Samba 2.2.4_1 ./configure --with-ldapsam fails

5. CGI: apache canned response

6. Linux on Pentium II?

7. Home Lan: IE insists on dialing to reach Apache on Linux

8. DOS development under Linux?

9. can't connect outside LAN - Internet

10. Gateway to connect my home network to Internet doesn't work!

11. Apache - home network/internet access

12. Apache LAN v. Internet

13. UID/GID = apache, but HOME='/' ... why?