From user-return-5086-archive-asf-public=cust-asf.ponee.io@guacamole.apache.org Wed Jan 23 21:06:31 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7AD81180771 for ; Wed, 23 Jan 2019 21:06:30 +0100 (CET) Received: (qmail 94470 invoked by uid 500); 23 Jan 2019 20:06:29 -0000 Mailing-List: contact user-help@guacamole.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.apache.org Delivered-To: mailing list user@guacamole.apache.org Received: (qmail 94460 invoked by uid 99); 23 Jan 2019 20:06:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2019 20:06:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 2F43DC03A6 for ; Wed, 23 Jan 2019 20:06:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.735 X-Spam-Level: **** X-Spam-Status: No, score=4.735 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Gm51X786ROWl for ; Wed, 23 Jan 2019 20:06:27 +0000 (UTC) Received: from n4.nabble.com (n4.nabble.com [199.38.86.66]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 485B25FB0C for ; Wed, 23 Jan 2019 20:06:27 +0000 (UTC) Received: from n4.nabble.com (localhost [127.0.0.1]) by n4.nabble.com (Postfix) with ESMTP id 6DDD44C1778C for ; Wed, 23 Jan 2019 14:06:26 -0600 (CST) Date: Wed, 23 Jan 2019 14:06:26 -0600 (CST) From: Zer0Cool To: user@guacamole.apache.org Message-ID: <1548273986447-0.post@n4.nabble.com> In-Reply-To: References: <1547836829606-0.post@n4.nabble.com> <1547843319325-0.post@n4.nabble.com> Subject: Re: Session Remote Host Address Showing Loopback MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ok well I thought I had it worked out. I already have "proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;" in my Nginx config. I added: to the server.xml file towards the end within the tag as specified in the documentation. Restarted guacd, tomcat, nginx and mariadb and its still logging the IP of the server instead of remote host IP's. Havent had a chance to reboot yet. The only thing I can think of is the formatting/syntax of the internalProxies= IP address. Some of the documentation like: https://tomcat.apache.org/tomcat-8.5-doc/api/org/apache/catalina/valves/RemoteIpValve.html show all examples as: internalProxies="192\.168\.0\.10|192\.168\.0\.11" So I am wondering if I need to use the server IP, IE: internalProxies="192.168.0.10" and/or the slash syntax like internalProxies="192\.168\.0\.10"? If need be I can post my Nginx conf and my tomcat server.xml, have not done so yet as I wanted to make sure I didnt just miss something simple, which it looked like I did but it seems now there could be more to my issue. Thanks -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/