guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Jumper <mjum...@apache.org>
Subject Re: How to get client ip address on guacamole
Date Tue, 28 May 2019 17:00:30 GMT
Manoj, please stop resending the same message every few hours.

- Mike


On Tue, May 28, 2019 at 2:58 AM Manoj Patil <manoj2patil@gmail.com> wrote:

>
>
> Begin forwarded message:
>
> *From: *Manoj Patil <manoj2patil@gmail.com>
> *Subject: **Re: How to get client ip address on guacamole*
> *Date: *28 May 2019 at 12:13:18 PM IST
> *To: *user@guacamole.apache.org
>
> hi,
>
> i am done all the setting as per document but it shows the Firewalll WAN
> ip not machine local ip address
>
> my server.xml setting
>
> <Valve className="org.apache.catalina.valves.RemoteIpValve"
>
> internalProxies="192\.168\.80\.162|172\.16\.20\.37"
>
> remoteIpHeader="x-forwarded-for"
>
> remoteIpProxiesHeader="x-forwarded-by"
>
> protocolHeader="x-forwarded-proto"
>
> protocolHeaderHttpsValue="https" />
> <Valve className="org.apache.catalina.valves.ErrorReportValve"
>                                                         showReport="false"
>
> showServerInfo="false"/>
>
>
> My nginx setting is——
>
> server {
>
>     listen 80;
>     listen [::]:80;
>     server_name gucserver;
>     return 301 https://$server_name$request_uri;
>
>
>         location /acecbs/ {
>         proxy_pass http://192.168.80.162:8080/guacamole/;
>         proxy_buffering off;
>         proxy_http_version 1.1;
>         proxy_set_header X-Forwarded-Host $host;
> proxy_set_header X-Forwarded-Server $host;
>         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>         proxy_set_header Upgrade $http_upgrade;
>         proxy_set_header Connection $http_connection;
>         proxy_cookie_path /guacamole/ /acecbs/;
>         access_log off;
>         }
>
>
> Username Start time Duration Connection name Remote host
> samho
> 2019-05-28 12:07:55 0 seconds samta_ho 223.196.84.130
> samho
> 2019-05-28 12:07:49 0 seconds samta_ho 223.196.84.130
> samho
> 2019-05-28 12:07:37 0 seconds samta_ho 223.196.84.130
> samho
> 2019-05-28 11:37:15 28 seconds samta_ho 223.196.84.130
>
> On 26-May-2019, at 11:24 PM, Mike Jumper <mjumper@apache.org> wrote:
>
> On Sun, May 26, 2019, 10:14 Manoj Patil <manoj2patil@gmail.com> wrote:
>
>> Dear,
>>
>> I see the history tab and table  but in that remote host it display the
>> firewall ip not actual machine ip and i want actual machine ip.
>>
>
>> i used Guacamole(tomcat+nginix)+x!rdp(linux host).
>>
>
>
> http://guacamole.apache.org/doc/gug/proxying-guacamole.html#tomcat-remote-ip
>
>
>
>

Mime
View raw message