-
-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get docker install to recognise that I'm outside of local network. #1967
Comments
That link you linked should be what you need. I would try going through that again since that's the only way you're going to get it to see the correct IP (and there's no way for Organizr to detect it when it's getting the wrong info). |
I took another look at the link (If I understood correctly, you are referring to no. 8?), and it seems like these are the only PHP HTTP Variables that I'm getting: I can't seem to locate the HTTP_X_REAL_IP or HTTP_X_FORWARDED_FOR variables. |
No this one with the iptables stuff: https://www.pedrolamas.com/2020/11/04/exposing-the-client-ips-to-docker-containers-on-synology-nas/ It's getting the wrong IP because syno isn't properly NATing it so it's showing the from as the docker gateway |
Thanks for getting back to me so quickly! I went ahead and ran the script again, and now I can find the Variables: But it is still showing that I am Local: |
That definitely looks better. Are you setting an override for local IPs? 100.x.x.x should be considered remote |
Am I supposed to fill in the WAN domain and Enable Local Address Forward when setting an override for local IPs? |
You shouldn't be changing the override at all, it all ready contains all the RFC-1918 space and no you don't need do that, that's just for switching urls for Organizr when you're local. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Organizr Version: V 2.1.2460
Branch: Master
WebServer: Nginx-fpm:enabled
Operating System: Synology 7.2 + Official Docker Image
Problem Description:
TL;DR: I am unable to get Official Docker image to see that I am outside of local network and use Tab URL instead of local tab URL on Synology/DSM 7.2
I've set the local tab ip for internal 192.168.x.x and tab url to an accessible external address however when using Organizr from an external IP (100.x.x.x), none of the tabs work as it is using the Local Tab URLs to connect.
I have:
Link: https://www.pedrolamas.com/2020/11/04/exposing-the-client-ips-to-docker-containers-on-synology-nas/
Originally posted by @causefx in #1836 (comment)
Is there something I am missing or haven't enabled? Is the image already set up to forward IPs?
I am somewhat familiar with Docker and CLI, but not an expert. I am a complete novice at web servers so any help with instructions would be appreciated
The text was updated successfully, but these errors were encountered: