What's new

Clearing (only) GUI IP access restrictions from CLI

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

spaceharrier

New Around Here
I recently enabled WAN GUI access with a handful of specified IPs. Not exactly sure what went on behind the scenes, but now can't access the GUI at all from LAN or WAN.

I'm wondering if this might be some confusion about port assignment. The GUI was set to serve on port 80 but I have a forwarding rule to forward port 80 on the WAN side to an internal web server. (Note that there is no such rule on the LAN side, and the GUI had been working fine there until I made this change, and now works from nowhere.)

Accessing via the LAN throws up what's reported on the client as a network error -- not clear if that's an error from the HTTP server or some lower layer.

Logging in over SSH I can see httpd running, something listening on port 80 (via netstat) and IP Tables rules to allow access to port 80 on the LAN. Restarting httpd makes no difference.

Are there some handy nvram parameters I can reset to try to back out this change via the CLI?
 
You could try temporarily running httpd on a different port.

1) Kill the running instance:

Code:
killall httpd

2) Enter the web content directory:

Code:
cd /www

3) Run httpd on a specific port:

Code:
httpd -p 8888

The webui should be accessible on port 8888 then (until you apply any change that will cause it to restart)
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top