My recommended solution isn't much help, but here goes. Since it's rather obvious I'll have fun with it.
What I'm thinking of is argued to be a fruit, however many people think it's a vegetable. I have quite enjoyed the switch myself, but I'm also not doing as much with my router as I used to do. (well, in other ways I'm doing more though) On Thu, May 12, 2011 at 4:46 PM, William L. Thomson Jr. <[email protected]> wrote: > On Thu, 2011-05-12 at 14:31 -0400, Paul Spicer wrote: >> Alright, I _THOUGHT_ I had it setup where I could access both SSH and luci >> from WAN, but evidently I was wrong... >> >> Here's how I tested it. I set the WAN port with a static address >> (192.168.20.1) and set my machine up with a static address (192.168.20.100) >> and plugged my machine into the WAN port. I wasn't able to connect through >> HTTP, but I was able to SSH into the router. > > Not very familiar with openwrt, but is there some setting some where you > enable remote HTTP connections to luci? Also seems it might be running > on port 8080, were you trying that or just port 80? Usually web > interfaces on routers default to only allowing access from the LAN side. > You have to enable/allow access from the wan side. > >> So then I took the router to work, set the WAN port for DHCP, and plugged it >> into the network. It got an address of 192.168.1.40. From my workstation, I >> was able to connect to the router with SSH, but still no HTTP. >> >> With the router disconnected from any WAN, I plugged my machine into one of >> the LAN ports, got a DHCP address from the router and was able to connect to >> it with SSH from both the internal address (192.168.77.9) and the external >> WAN address it was still holding onto from the previous test (192.168.1.40). >> I was also able to access the HTTP side with the internal address, but not >> the external. > > This kinda confirms my suspicion. If you can access HTTP interface from > LAN and not WAN. Likely some setting making it so, not sure again not > familiar with openwrt. But most routers are that way, assuming openwrt > is similar. Googling seems to imply such. > >> Last night, I hooked this router up to my DSL at home and was unable to >> connect with SSH or HTTP from the external address. (It should be noted that >> I have made no changes to the settings in the router, aside from setting the >> WAN address to static and back to DHCP today.) > > How were you access the router? Were you using the public IP address for > your DSL line? Are you sure it was the right address? Were you external > or internally trying to access that IP address? > > Some routers, won't let you ping/communicate with the WAN IP via the > LAN. Since your already behind, and can access that via a LAN IP > address, usually the gateway IP address. Some do allow you to ping the > routers LAN and WAN IP address, but I recall several not allowing such. > Usually to test out things from the WAN side you need to do that > remotely, via your cell phone, a machine on another network, external to > yours, etc. > >> The router I'm using right now is presently setup to forward requests on >> port 1221 to port 22 of my linux server. Given that THAT is working, I don't >> believe my DSL gateway is blocking the traffic. (I changed the default SSH >> port on the router to 1221 rather than 22 and I'm able to connect on that >> port here at work while I'm testing it.) > > Probably change of IP or something like that if SSH was working via DSL > and then stopped for some reason. Good you can access WAN IP internally, > thats not always the case. > >> So I was thinking I need to setup a firewall rule to forward requests from >> port 80 to the router's internal IP address, but that doesn't work, either. > > Should be no need, if the web server is running on the router. Port 80 > is already mapped to that machine. Have you tried port 8080 at all? > Might be 80 internally and 8080 remotely, not sure. Maybe Gene or others > will comment there, being more familiar with openwrt. > >> Can anyone suggest what I'm doing wrong here? I'll gladly supply more info >> as needed. > > No real suggestions here, just some things to check. Hopefully they > help, but might not do anything just the same. :) > > -- > William L. Thomson Jr. > Obsidian-Studios, Inc. > http://www.obsidian-studios.com > > > --------------------------------------------------------------------- > Archive http://marc.info/?l=jaxlug-list&r=1&w=2 > RSS Feed http://www.mail-archive.com/[email protected]/maillist.xml > Unsubscribe [email protected] > > --------------------------------------------------------------------- Archive http://marc.info/?l=jaxlug-list&r=1&w=2 RSS Feed http://www.mail-archive.com/[email protected]/maillist.xml Unsubscribe [email protected]

