Remote Host IP
kaasszje opened this issue · 3 comments
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 ?
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.
Extracted the server.xml and made the adjustments, recreated the image with the new server.xml and this work, so thank you very much.