i'm not actually sure. We are not using IP6 .
. the server only has 1 ip.

/danielm





From:   "Chris Misztur" <[email protected]>
To:     [email protected]
Date:   04/09/20 02:51 PM
Subject:        Re: randomely showing localhost IP in guacamole user 
history




@DMoscovitch is your proxy listening on IPv6?


On Thu, Apr 9, 2020 at 7:53 AM <[email protected]> wrote:
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" <[email protected]> 
To:        [email protected] 
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