NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
squid-box
Apr 12, 2018Aspirant
After 6.9.3 upgrade I'm unable to access admin page through reverse proxy
I have my ReadyNAS 104 set up to have the admin page available through a reverse proxy (nginx). At 6.9.2 this worked fine, but as of 6.9.3 I'm getting the error message (direct copy paste, 'idl' and ...
- Apr 24, 2018
Thank you, this gave me a hint at what I had to do :)
What my reverse proxy was missing was simply to forward the headers. For anyone with the same problem, I had to edit my location block to read like this:
location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass_header Set-Cookie; proxy_pass <internal-ip-to-nas>; }
mdgm-ntgr
Apr 22, 2018NETGEAR Employee Retired
An explanation of what would need to be passed is described in Curl does not work any more since upgrade to 6.9.3 on RN316
squid-box
Apr 24, 2018Aspirant
Thank you, this gave me a hint at what I had to do :)
What my reverse proxy was missing was simply to forward the headers. For anyone with the same problem, I had to edit my location block to read like this:
location /
{
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header Set-Cookie;
proxy_pass <internal-ip-to-nas>;
}- bobbycrispboxMay 23, 2018Aspirant
Thanks for the information provided here.
For my setup, with Apache mod_proxy, I had to add the ProxyPreserveHost directive
<Location /> ProxyPass https://mynasip/ ProxyPassReverse https://mynasip/ ProxyPreserveHost on </Location>
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!