On Tue, Dec 21, 2021 at 12:16 PM Luciano Oliveira <[email protected]> wrote:
> Hello everybody! > > > How to view Remote Host in settings, history? > Using Debian 11 + Guacamole 1.3.0 + Tomcat9+ MariaDB. Guacamole integrated > AD. > > Config server.xml > > <Valve className="org.apache.catalina.valves.RemoteIpValve" > internalProxies="127.0.0.1|0:0:0:0:0:0:0:1|::1" > remoteIpHeader="x-forwarded-for" > remoteIpProxiesHeader="x-forwarded-by" > protocolHeader="x-forwarded-proto" /> > > If you've proxied Tomcat behind either Nginx or Apache you'll need to also make sure those are configured to pass this information through. This is all covered in the manual: https://guacamole.apache.org/doc/gug/proxying-guacamole.html Also, there may be situations where upstream systems (firewalls, proxies, VPNs, etc.) remove this information, either intentionally or not, so if you don't have control over some of those devices you may find it difficult to fully achieve that. You'll just need to make sure that the IPs of the clients are making it to the proxy correctly (you can look in the Nginx or httpd logs), and then you can get it passed on to Tomcat. -Nick >
