- 3,793
- 1,298
- NAS
- DS4l8play, DS202j, DS3623xs+, DSM 7.3.3-25847
Last edited:
I've been toying with nginx (docker) on a Raspberry Pi, but when I forward 443 to the RPi on the same network, things don't go as I hoped.
Some background... Typically, 443 is forwarded to the NAS (443>443) and the NAS internal reverse proxy works as expected. But when I edited the router 443 forwarding to the RPi IP, I get no connection. BTW, I'm using a Synology DDNS domain.
When I enter:
The URL automagically changes to:
https://123.secret.synology.me:9876 (where 9876 is my NAS' HTTPS port). How that port appears, I cannot imagine.
Initially I thought I had wrongly set up the RPi RP, so I changed the router's port 443 forward to the RPi to 4433>443, and then entered:
https://123.secret.synology.me:4433, and the RPi nginx loaded the page I was expecting.
For some reason, 443>443 doesn't work when pointed to the RPi IP.
I suspect some shenanigan with the Synology DDNS, since the URL is somehow picking up the NAS default HTTPS port, even though 443 (WAN) should be headed to the RPi as if the NAS did not exist.
Any thoughts here?
I tried another DDNS, and I sense now that the issue is somehow related to the Synology DDNS cert I imported. Using a separate DDNS, I was able to reach the RPi nginx with 443>443 forwarding. I don't understand why the Synology DDNS would not connect with the RPi. So I'll move onto a private domain.
Some background... Typically, 443 is forwarded to the NAS (443>443) and the NAS internal reverse proxy works as expected. But when I edited the router 443 forwarding to the RPi IP, I get no connection. BTW, I'm using a Synology DDNS domain.
When I enter:
The URL automagically changes to:
https://123.secret.synology.me:9876 (where 9876 is my NAS' HTTPS port). How that port appears, I cannot imagine.
Initially I thought I had wrongly set up the RPi RP, so I changed the router's port 443 forward to the RPi to 4433>443, and then entered:
https://123.secret.synology.me:4433, and the RPi nginx loaded the page I was expecting.
For some reason, 443>443 doesn't work when pointed to the RPi IP.
I suspect some shenanigan with the Synology DDNS, since the URL is somehow picking up the NAS default HTTPS port, even though 443 (WAN) should be headed to the RPi as if the NAS did not exist.
Any thoughts here?
-- post merged: --
I tried another DDNS, and I sense now that the issue is somehow related to the Synology DDNS cert I imported. Using a separate DDNS, I was able to reach the RPi nginx with 443>443 forwarding. I don't understand why the Synology DDNS would not connect with the RPi. So I'll move onto a private domain.