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

Remote Host IP #23

Closed
kaasszje opened this issue Oct 31, 2023 · 2 comments
Closed

Remote Host IP #23

kaasszje opened this issue Oct 31, 2023 · 2 comments
Labels
question Further information is requested

Comments

@kaasszje
Copy link

Describe Your Problem:
I running Guacamole in docker, in front of this is a reverse proxy (nginx proxy manager)
In history tab I see all connections from a docker internal IP.
I wish to see the real client ip from which a client connectst

Settings in nginx proxy manager for X-Forwarded-For are set.
In guacamole I only added the totp extention.
So how can I get the client IP ?

@kaasszje kaasszje added the question Further information is requested label Oct 31, 2023
@jwetzell
Copy link
Owner

I just did a quick test adding the valve mentioned here to the server.xml for tomcat located at /usr/local/tomcat/conf/server.xml in the container. And that seems to do the trick on my instance of Guacamole. Should be possible to do without rolling a new image, but could also just be rolled into the image itself probably.

@kaasszje
Copy link
Author

kaasszje commented Nov 1, 2023

Extracted the server.xml and made the adjustments, recreated the image with the new server.xml and this work, so thank you very much.

@kaasszje kaasszje closed this as completed Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants