Closed kaasszje closed 10 months ago
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.
For anyone interested, I solved this by extracting server.xml, modifying the Valve section and mounting the file using docker compose:
<Valve>
section to <Host>
docker-compose.yml:
services:
app:
container_name: guacamole
image: jwetzell/guacamole
volumes:
- /containers/guacamole/data:/config
- /containers/guacamole/server.xml:/usr/local/tomcat/conf/server.xml
ports:
- 8080:8080/tcp
network_mode: bridge
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 ?