What's new

How to access router WEB UI through nginx proxy

  • 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!

Olivier L

Regular Contributor
Hello everyone
I have a dedicated small machines in my network running a nginx reverse proxy server to access different we services (http2) such as plex, transmission, radarr, NAS asustor web ui, ...

I would like to access my asus wrt merlin AX88U router through the same proxy. But it fails.

Do you know if it is feasible ? How to configure nginx to do so ?

Thanks
 
Fails how, and what's the config you're currently trying? Is the DNS entry for the domain pointing to the nginx server? The only setting I've needed specifically needed for the WebUI through nginx is client_max_body_size so firmware upgrades could be done.
 
Proxying will most likely not work properly. The httpd bases authentication on the IP address, so if one client authenticated through nginx, then anyone else will magically be authenticated as well if they also tried to access the proxy.
 
Authentication seems to be token based, logging in through a second device (or even another web browser on the same device) will cause the first one to be logged out.
 
Authentication seems to be token based, logging in through a second device (or even another web browser on the same device) will cause the first one to be logged out.

A combination of both actually: there's a token, and also the IP address of the logging client. I experimented a few years ago in using haproxy (as an attempt to improve general SSL performance of the webui - which it did), and it didn't work properly. The web server would have to be modified to handle passing the origin client info through a meta header.
 

Latest threads

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