You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by "Najib ." <ao...@outlook.com> on 2023/06/14 19:31:47 UTC
The IP of "Remote host" under "History" is always the docker default gateway IP address
Noticed that for the docker image that the IP address of the remote host that is logged under history is always the internal docker default gateway IP.
Re: The IP of "Remote host" under "History" is always the docker default gateway IP address
Posted by Michael Jumper <mj...@apache.org>.
Try:
1. Set up a reverse proxy in front of the Guacamole container to provide
SSL/TLS (either Apache or Nginx - whichever you prefer), if you have not
already done so.
2. Make sure to configure your reverse proxy to send the IP address of
the client with the "X-Forwarded-For" header. This is shown in the
examples in the documentation.
3. Configure the Guacamole container to trust the "X-Forwarded-For"
header it receives from your reverse proxy by setting the
"REMOTE_IP_VALVE_ENABLED" environment variable to "true".
See:
* https://guacamole.apache.org/doc/gug/reverse-proxy.html
*
https://guacamole.apache.org/doc/gug/guacamole-docker.html#running-guacamole-behind-a-proxy
There is otherwise no way for a Docker container to see the IP address
of the connected client unless the container is not running behind a
gateway at all.
- Mike
On 6/14/23 12:36, Henri Alves de Godoy wrote:
> Hi all.
>
> I've also had this problem for some time. How could I register the IP of
> the client and not the gateway?
>
> Thanks
> Henri.
>
> Em qua., 14 de jun. de 2023 às 16:32, Najib . <aouninajib@outlook.com
> <ma...@outlook.com>> escreveu:
>
> Noticed that for the docker image that the IP address of the remote
> host that is logged under history is always the internal docker
> default gateway IP.____
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: The IP of "Remote host" under "History" is always the docker default gateway IP address
Posted by Henri Alves de Godoy <he...@fca.unicamp.br>.
Hi all.
I've also had this problem for some time. How could I register the IP of
the client and not the gateway?
Thanks
Henri.
Em qua., 14 de jun. de 2023 às 16:32, Najib . <ao...@outlook.com>
escreveu:
> Noticed that for the docker image that the IP address of the remote host
> that is logged under history is always the internal docker default gateway
> IP.
>
--