fuzZzball
May 2nd, 2008, 11:37 AM
Hello,
I'm trying to setup a home web server. I've 3 comps here with
several ubuntu version (7.10, 8.04).
No matter what I do, the server is not accessible from internet. Perhaps I'm missing something out, something in ubuntu and someone with experience can point it out ..
I'm using LAMP and I've configured apache to listen to 10.0.0.150:80 and ServerName to 10.0.0.150 (not localhost). (I can access the server locally, http://10.0.0.150/)
So assume my WAN ip is 80.200.240.100, and my server IP is 10.0.0.150, I've set a NAT rule in my Modem/Router to forward 80.200.240.100:80 to 10.0.0.150:80, so far so good, on the site www.canyouseeme.org it says my ISP is not blocking the port 80 and it's a success, but i cannot access the server thru http://80.200.240.100/ (it just gives a time out, server takes to long to respond). So I thought maybe my ISP is blocking port 80 (which most likely would be the case) so i configured everything to port 8080 and still nothing :(
When using nmap -P0 10.0.0.150 it gives the following output:
Interesting ports on (10.0.0.150):
Not shown: 1691 closed ports
PORT STATE SERVICE
21/tcp open ftp
80/tcp open http
139/tcp open netbios-ssn
443/tcp open https
445/tcp open microsoft-ds
3306/tcp open mysql
but nmap -P0 80.200.240.100 gives:
Interesting ports on 80.200.240.100:
Not shown: 1692 closed ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
80/tcp filtered http
1723/tcp open pptp
8080/tcp filtered http-proxy
so 8080 is filtered too? and testing http://80.200.240.100:8080/ gives a time out also .. so I guess it's more likely I'm doing something wrong here!
I have no IPTABLES set, no firewall (at least, that's what i think, i've got nothing started so far because i just wanted to test the whole environment without a firewall) but perhaps I'm leaving something out in Ubuntu which I forgot to set? Some tricky variable? :)
---
Well, checked my modem if the firewall was on (through telnet), and it was,
so i turned it off, but still no difference :( ..
---
Anyone? thanks in advance
Fuzz
I'm trying to setup a home web server. I've 3 comps here with
several ubuntu version (7.10, 8.04).
No matter what I do, the server is not accessible from internet. Perhaps I'm missing something out, something in ubuntu and someone with experience can point it out ..
I'm using LAMP and I've configured apache to listen to 10.0.0.150:80 and ServerName to 10.0.0.150 (not localhost). (I can access the server locally, http://10.0.0.150/)
So assume my WAN ip is 80.200.240.100, and my server IP is 10.0.0.150, I've set a NAT rule in my Modem/Router to forward 80.200.240.100:80 to 10.0.0.150:80, so far so good, on the site www.canyouseeme.org it says my ISP is not blocking the port 80 and it's a success, but i cannot access the server thru http://80.200.240.100/ (it just gives a time out, server takes to long to respond). So I thought maybe my ISP is blocking port 80 (which most likely would be the case) so i configured everything to port 8080 and still nothing :(
When using nmap -P0 10.0.0.150 it gives the following output:
Interesting ports on (10.0.0.150):
Not shown: 1691 closed ports
PORT STATE SERVICE
21/tcp open ftp
80/tcp open http
139/tcp open netbios-ssn
443/tcp open https
445/tcp open microsoft-ds
3306/tcp open mysql
but nmap -P0 80.200.240.100 gives:
Interesting ports on 80.200.240.100:
Not shown: 1692 closed ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
80/tcp filtered http
1723/tcp open pptp
8080/tcp filtered http-proxy
so 8080 is filtered too? and testing http://80.200.240.100:8080/ gives a time out also .. so I guess it's more likely I'm doing something wrong here!
I have no IPTABLES set, no firewall (at least, that's what i think, i've got nothing started so far because i just wanted to test the whole environment without a firewall) but perhaps I'm leaving something out in Ubuntu which I forgot to set? Some tricky variable? :)
---
Well, checked my modem if the firewall was on (through telnet), and it was,
so i turned it off, but still no difference :( ..
---
Anyone? thanks in advance
Fuzz