GithubHelp home page GithubHelp logo

Comments (9)

HalianElf avatar HalianElf commented on May 20, 2024

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).

from organizr.

smarthome-enthusiast avatar smarthome-enthusiast commented on May 20, 2024

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:

image

I can't seem to locate the HTTP_X_REAL_IP or HTTP_X_FORWARDED_FOR variables.

from organizr.

HalianElf avatar HalianElf commented on May 20, 2024

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

from organizr.

smarthome-enthusiast avatar smarthome-enthusiast commented on May 20, 2024

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:

image

But it is still showing that I am Local:

image

from organizr.

HalianElf avatar HalianElf commented on May 20, 2024

That definitely looks better. Are you setting an override for local IPs? 100.x.x.x should be considered remote

from organizr.

smarthome-enthusiast avatar smarthome-enthusiast commented on May 20, 2024

Yes I've set the "Override Local IP or Subnet" to 192.x.x.x and 100.x.x.x should be considered as remote, but it still isn't. I've also noticed that it's still reporting my IP as 172.x.x.x, is this something I should be concerned about?

image

image

image

image

Edit: added screenshots and made original post clearer

from organizr.

smarthome-enthusiast avatar smarthome-enthusiast commented on May 20, 2024

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?

from organizr.

HalianElf avatar HalianElf commented on May 20, 2024

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.

from organizr.

github-actions avatar github-actions commented on May 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

from organizr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.