You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Luciano Oliveira <ol...@outlook.com> on 2021/12/21 17:16:09 UTC
Settings, History -> Remote host
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" />
Best regards,
Luciano
Re: Settings, History -> Remote host
Posted by Nick Couchman <vn...@apache.org>.
On Tue, Dec 21, 2021 at 12:16 PM Luciano Oliveira <ol...@outlook.com>
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
>