You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Nick Couchman (Jira)" <ji...@apache.org> on 2020/03/21 23:02:00 UTC

[jira] [Commented] (GUACAMOLE-994) Incorrect Documentation or Software Bug (Remote IP Valve)

    [ https://issues.apache.org/jira/browse/GUACAMOLE-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064097#comment-17064097 ] 

Nick Couchman commented on GUACAMOLE-994:
-----------------------------------------

I use this setup in my environment and it works perfectly fine.  Did you also follow the instructions for Nginx configuration options, specifically the line:

{code}
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
{code}

> Incorrect Documentation or Software Bug (Remote IP Valve)
> ---------------------------------------------------------
>
>                 Key: GUACAMOLE-994
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-994
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-server, Website
>    Affects Versions: 1.0.0
>            Reporter: Sysadmin Guy
>            Priority: Minor
>
> When proxied behind Nginx Reverse Proxy, the docs recommend adding this to server.xml in /etc/tomcat8 if the proxy is on the same host as the Tomcat server.  
>  
> In my testing and as reported by others on the mail list, specifying localhost (127.0.0.1) does not work.  You have to use the actual IP of the local host.
>  
> [https://www.mail-archive.com/user@guacamole.apache.org/msg02343.html]
>  
>  [https://guacamole.apache.org/doc/gug/proxying-guacamole.html#tomcat-remote-ip]
> {code:java}
> <Valve className="org.apache.catalina.valves.RemoteIpValve"
>                internalProxies="127.0.0.1"
>                remoteIpHeader="x-forwarded-for"
>                remoteIpProxiesHeader="x-forwarded-by"
>                protocolHeader="x-forwarded-proto" />{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)