10 hours ago
Thank you for your quick response !
The reverse proxy was setup using Synology reverse proxy feature so it is running on the same machine, but AFAIK not in a container. I added these lines in the custom header section:
Upgrade $http_upgrade
Connection $connection_upgrade
X-Real-IP $remote_addr
X-Forwarded-For $proxy_add_x_forwarded_for
X-Forwarded-Proto $scheme
X-Forwarded-Protocol $scheme
X-Forwarded-Host $http_host
Host host
In the Jellyfin server Known Proxies setting, I added:
127.0.0.1, 192.168.0.9, 192.168.0.1, mydomain.com, jellyfin.mydomain.com
where 192.168.0.9 is my synology IP address (that runs the jellyfin docker and the reverse proxy), and 192.168.0.1 is my gateway IP address.
I also added 192.168.0.0/24 192.168.0.1 192.168.0.9 to Synology's trusted proxies list
Now when I connect from the reverse proxy address jellyfin.mydomain.com, any user still manages to connect and the Jellyfin log indicates connections from 192.168.0.1 (the gateway) for any user.
The gateway is using DD-WRT. I just forward the port 443 to 192.168.0.9. and I am not forwarding the port 80.
Could that be the gateway removing the public IP address ?
The reverse proxy was setup using Synology reverse proxy feature so it is running on the same machine, but AFAIK not in a container. I added these lines in the custom header section:
Upgrade $http_upgrade
Connection $connection_upgrade
X-Real-IP $remote_addr
X-Forwarded-For $proxy_add_x_forwarded_for
X-Forwarded-Proto $scheme
X-Forwarded-Protocol $scheme
X-Forwarded-Host $http_host
Host host
In the Jellyfin server Known Proxies setting, I added:
127.0.0.1, 192.168.0.9, 192.168.0.1, mydomain.com, jellyfin.mydomain.com
where 192.168.0.9 is my synology IP address (that runs the jellyfin docker and the reverse proxy), and 192.168.0.1 is my gateway IP address.
I also added 192.168.0.0/24 192.168.0.1 192.168.0.9 to Synology's trusted proxies list
Now when I connect from the reverse proxy address jellyfin.mydomain.com, any user still manages to connect and the Jellyfin log indicates connections from 192.168.0.1 (the gateway) for any user.
The gateway is using DD-WRT. I just forward the port 443 to 192.168.0.9. and I am not forwarding the port 80.
Could that be the gateway removing the public IP address ?