Welcome! Log In Create A New Profile

Advanced

Reverse proxy for a TP-LINK router returns 403

Posted by mmmlab 
Reverse proxy for a TP-LINK router returns 403
December 07, 2016 02:12PM
Hi Folks,

I'm tring to "secure" my home network using reverse proxy to "transform" http requests from ip-cams and routers to https...

I've already routed http requests for ip-cam to https using: https://my-ip-address/ip-cam/

location /ip_cam/ {
proxy_pass http://x.y.w.v:z/;
proxy_redirect off;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
}

Noa, I wish to do the same with my AP (an Archer C20i from TP-LINK) but, after initial login screen, instead of page showed by "ok.png", I receive only a page with 403 Frames (as per attached Screenshot ...)...

Any idea?

thanks in advance for any help,
m.
Attachments:
open | download - ok.png (173.6 KB)
open | download - Screenshot at 2016-12-07 20-06-43.png (14.2 KB)
Re: Reverse proxy for a TP-LINK router returns 403
April 05, 2017 05:16PM
I had the same issue with an Archer C2, however I was able to get it work by setting the Referer Header.

proxy_pass http://192.168.0.1;
proxy_set_header Referer http://192.168.0.1/;



Edited 1 time(s). Last edit at 04/05/2017 05:16PM by gyuuu.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 250
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready