Git Product home page Git Product logo

Comments (4)

rissson avatar rissson commented on June 22, 2024

On 2024.4.2, I have AUTHENTIK_LISTEN__TRUSTED_PROXY_CIDRS=172.28.128.0/22,2001:67c:17fc:110::/60 set, and I can see in the logs that my IP is indeed correct:

{"event":"/static/dist/user/UserInterface.js?version=2024.4.2","host":"auth.lama-corp.space","level":"info","logger":"authentik.router","method":"GET","remote":"2a01:cb10:935:3107:cc16:c058:7c1c:eaca","runtime":"9.622","scheme":"http","size":490512,"status":200,"timestamp":"2024-05-14T21:30:03Z","user_agent":"Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"}

Perhaps you could share some of the details of your setup, especially regarding your reverse proxy and how it accesses authentik.

from authentik.

rissson avatar rissson commented on June 22, 2024

Also, I notice that you have both 192.168.0.0/16 and 192.168.0.0/24 in your list. The first one is enough.

from authentik.

Samppady avatar Samppady commented on June 22, 2024

Weird, if i don't add client IP not show up right.
Current Session IP.

from authentik.

Samppady avatar Samppady commented on June 22, 2024

Also, I notice that you have both 192.168.0.0/16 and 192.168.0.0/24 in your list. The first one is enough.

I upgraded to 2024.4.2 and removed AUTHENTIK_LISTEN__TRUSTED_PROXY_CIDRS from the .env file.
Now, the client IP is displayed correctly. I’m not sure what fixed the proxy_cidrs problem.

thanks for help.

from authentik.

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.