Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-994

Incorrect Documentation or Software Bug (Remote IP Valve)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 1.0.0
    • None
    • guacamole-server, Website
    • None

    Description

      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

      <Valve className="org.apache.catalina.valves.RemoteIpValve"
                     internalProxies="127.0.0.1"
                     remoteIpHeader="x-forwarded-for"
                     remoteIpProxiesHeader="x-forwarded-by"
                     protocolHeader="x-forwarded-proto" />

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            MacAdmin Sysadmin Guy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: