Hi all.
On our production deployments we only enable SSH over the WAN (PPP Cellular, albeit on a non-standard port), and disable WAN access to 80 / 443 web interfaces. We do this both for security concerns, as well as to limit wasted data from bots, scanners, and crawlers that often hit public IP addresses looking for web content.
We are curious, in an emergency, is there a “best practice” or recommended way to temporarily enable WAN access to the web admin interface using the SSH connection to gain that remote access.
For example, something we have thought of was connecting to the remote device over SSH, and then editing the db.json file to enable WAN access to the admin console, and then forcing a system restart, to enable access. However, I’m not sure if direct editing of the db.json file is recommend – and it also requires downtime from the reboot (and most likely whatever change we’re about to make via the web console will ALSO require a reboot).
Any insight on how best to approach this would be appreciate.
Thank you all!
Chris