Yes, as far as I can tell. I've gone through this so many times.
I thought also i needed to set maybe the 0:0:... address into the proxies 
also but that didnt seem to have any affect either. 
The odd thing is it does work some of the time.... 

==
        <Valve className="org.apache.catalina.valves.RemoteIpValve"
               internalProxies="127.0.0.1"
               remoteIpHeader="X-Forwarded-For"
               remoteIpProxiesHeader="X-Forwarded-By"
               protocolHeader="X-Forwarded-Proto" />
===



/danielm



From:   "Nick Couchman" <vn...@apache.org>
To:     user@guacamole.apache.org
Date:   04/08/20 10:18 PM
Subject:        Re: randomely showing localhost IP in guacamole user 
history




So if it works some of the time, the headers must be getting sent 
correctly? 
so the 
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
must be working from nginx? 


Have you also set the RemoteIPValve correctly in Tomcat?

http://guacamole.apache.org/doc/gug/proxying-guacamole.html#tomcat-remote-ip

-Nick

Reply via email to