Posted: 11/14/2005 6:30:11 PM EDT
Trying to setup an openbsd webserver on port 8080 (port 80 is blocked by my ISP)
What I know: According to an online port scanner (https://www.grc.com/x/ne.dll?rh1dkyd2), port 8080 is "open" I can get to the web page through http://192.168.2.6:8080/ I cannot get to the web page through http://<my ip address>:8080 <my ip address> is the one shown when I go to http://www.whatismyip.com/ I set up port forwarding on the modem as follows: Protocol: TCP Global Port(s): 8080 Base Host Port: 8080 Host Device: 192.168.1.15 I have set up the router's firewall with the following settings: Inbound port 8080 Type: TCP Private IP address: 192.168.2.6 Private Port: 8080 I also have the webserver's IP (192.168.2.6) placed in the DMZ of the router. help, please |
|
If you can get to it internally but not externally it is probably either a firewall or acl. you can try doing the following: sockstat -46 (make sure port 8080 is listening) vi /usr/local/apache/conf/httpd.conf (make sure the config file has no errors, if it is bound to your internal ip, then it should be serving to your public ip) nmap your server from outside your network. try to enumerate port 8080 by telneting to it from outside your network and issuing a GET command. make sure you have port fowarding properly setup on your router. if that still does not work, and you cant get to it from outside your network try removing the router from the equation. i know with my crappy netgear (read crapgear) you can only port foward on a single host(ie on my roomates box he has RDC enabled on the normal port 3389, but on mine im using 4444 since we only have a single public ip). Also why do you have 192.168.1.15 setup as the host to port foward when the server is running on 192.168.2.6? The modem will not be able to differenciate between 192.168.2.6 and 192.168.2.2. try setting up port fowarding on the router to allow 192.168.2.6, bind the apache webserver to 127.0.0.1. Setup the modem to allow port 8080 from 192.168.2.1. You might also consider having your modem/router on the same class of nonroutables. **edit** if it is detecting port 8080 as open, that just means its fowarded. doesn't necessarily mean that its fowarded correctly. Try putting the box directly behind the modem. I bet the issue is with the router. Out of curiousity what ISP do you use that blocks port 80? |
not a typo, when i try entering 192.168.1.5, it pops up an error message saying that's the modem's address, and I can't use it. |
still looking into your suggestions, thanks! |