Skip to content
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

Librespeed shows internal docker IP instead of public IP. #615

Open
jzbor opened this issue Apr 29, 2024 · 4 comments
Open

Librespeed shows internal docker IP instead of public IP. #615

jzbor opened this issue Apr 29, 2024 · 4 comments

Comments

@jzbor
Copy link

jzbor commented Apr 29, 2024

Description

I am hosting my own librespeed instance.
I would expect the site to show my public IP address, but instead it seems to show the internal docker address.

Server

Latest Docker image; Behind a Caddy reverse proxy.

Screenshots

image

@zypA13510
Copy link
Contributor

You can configure your reverse proxy to pass the remote IP via headers, e.g. X-Forwarded-For: or X-Real-IP:.

@jzbor
Copy link
Author

jzbor commented May 6, 2024

@jzbor
Copy link
Author

jzbor commented May 6, 2024

This is very interesting: While it shows the internal IP on my phone and laptop it works just fine on my desktop (using the same Firefox version as my laptop)

@buddhaCode
Copy link

I found somewhere, that the docker container must run on network mode "host". Has something to do with the NAT which uses internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants