Okay, so I'll admit it: I'm new to Linux. I tried running apache 1.3, but I had problems (coundn't access from outside of network); I installed apache 2.0, but that didn't help anything.
Hearing that some ISPs disallow port 80, I enabled port triggering on my wireless linksys router:
Application name: http
Trigger Port Range: 80-80
Incoming Port Range: 8000-8000
Port Forwarding: 80-80 192.168.1.51 Had this before I enabled port triggering
However, I was still unable to access my site outside the network (using either w.x.y.z:80 or w.x.y.z:8000)
Even within the network, w.x.y.z:80, w.x.y.z:8000, and 192.168.1.51:8000 didn't work. Only 192.168.1.51:80 worked.
Hearing that my router may not (for reasons unknown to me) be forwarding the external port 8000 from the client to the internal port 80 for my linux server, I tried setting the apache port to 8000 and just forwarding that.
httpd.conf
Code:
Listen 8000
ServerName 192.168.1.51:8000
No Port Triggering
Port Forwarding: 8000-8000 192.168.1.51
Using this, external users can access the site using w.x.y.z:8000
My question is this: Why can't I use the default port 80? If it's the ISP, I'd expect port triggering port 8000 to 80 to work (since it changes the port AFTER going through the ISP). That leads me to believe that the Linux box is not allowing port 80; however, users on the internal network can access the site through port 80: on top of that, when I type
iptables -nvL
it tells me says something along the lines of "ACCEPT -- *(in) *(out) 0.0.0.0/0(source) 0.0.0.0/0(destination) tcp dpt:80 flags:0x16/0x02"
Any help would be appreciated.