Show external IP address in the audit when using Docker #28

Closed
opened 2026-02-04 16:49:19 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @edbourque0 on GitHub (Sep 26, 2024).

Feature description

Show external IP address in the audit page when using docker.

Pitch

Since docker uses the container’s network to communicate, I think it has issues getting the real client’s IP address so it logs it’s internal docker IP at every connection. This IP is also the one sent in suspicious activity email (and the condition that triggers it). So I think this would be something to look into. Also, could be cool to have the location (country ou city) of the IP.

IMG_6991

Originally created by @edbourque0 on GitHub (Sep 26, 2024). ### Feature description Show external IP address in the audit page when using docker. ### Pitch Since docker uses the container’s network to communicate, I think it has issues getting the real client’s IP address so it logs it’s internal docker IP at every connection. This IP is also the one sent in suspicious activity email (and the condition that triggers it). So I think this would be something to look into. Also, could be cool to have the location (country ou city) of the IP. ![IMG_6991](https://github.com/user-attachments/assets/abd9b5ca-bbfb-40a4-a9d1-378922670068)
OVERLORD added the feature label 2026-02-04 16:49:19 +03:00
Author
Owner

@stonith404 commented on GitHub (Sep 26, 2024):

Do you have a reverse proxy in front? If so, did you set the TRUST_PROXY environment variable to true?

@stonith404 commented on GitHub (Sep 26, 2024): Do you have a reverse proxy in front? If so, did you set the `TRUST_PROXY` environment variable to true?
Author
Owner

@edbourque0 commented on GitHub (Sep 26, 2024):

That was it, sorry about that.
Thanks!

@edbourque0 commented on GitHub (Sep 26, 2024): That was it, sorry about that. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#28