Hi, I'm a NGIX noobie trying to setup basic reverse proxy server for the first time to harden my home security IP camera which doesn't support SSL natively. Camera is behind my pfSense firewall and DD-WRT router in it's own bridged subnet and I'm able to access it fine from outside and inside. I've installed NGIX successfully in my router, but I haven't managed to make it work.
I tried to follow the instructions found here:
https://security.stackexchange.com/questions/56779/securing-remotely-accessible-ip-cameras-that-do-not-support-https
My Nginx conf file is in the following path:
/opt/etc/nginx/nginx.conf
For testing purpose only I try to direct all HTTP traffic from 192.168.6.66:666 to 192.168.6.66:8080. I've set the router to start Nginx after reboot. Nginx is able to save all the configurations successfully after router reboot. I've also configured port forwarding on my router and my firewall, to ports mentioned above. I still can't access the camera from port 8080 (inside or outside). When I get the HTTP to work first, then I move on to HTTPS.
What am I doing wrong?
Find attached screenshot of Nginx configuration.
Are the configurations in wrong place? I wrote them in the beginning of configuration file.
I tried to follow the instructions found here:
https://security.stackexchange.com/questions/56779/securing-remotely-accessible-ip-cameras-that-do-not-support-https
My Nginx conf file is in the following path:
/opt/etc/nginx/nginx.conf
For testing purpose only I try to direct all HTTP traffic from 192.168.6.66:666 to 192.168.6.66:8080. I've set the router to start Nginx after reboot. Nginx is able to save all the configurations successfully after router reboot. I've also configured port forwarding on my router and my firewall, to ports mentioned above. I still can't access the camera from port 8080 (inside or outside). When I get the HTTP to work first, then I move on to HTTPS.
What am I doing wrong?
Find attached screenshot of Nginx configuration.
Are the configurations in wrong place? I wrote them in the beginning of configuration file.