Re: Sending client's IP address to local proxied application server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Well, I added this to the vhost definition:

ProxyPreserveHost On
RemoteIPHeader X-Forwarded-For



Now I'm getting the web server's outside IP address as the value of the x-forwarded-for header.  This is progress, but not quite what I need.  I need the original client's IP address before the request gets proxied to my application server.

Any other ideas?

Thanks in advance,

Mike.


On Fri, Oct 16, 2020 at 3:21 PM DICKEY Rob <Rob.DICKEY@xxxxxxx> wrote:

ProxyPreserveHost On (it is set off by default) will preserve incoming Host header.  For IP, you could use a custom header using %{REMOTE_ADDR}as the value.

 

Best Regards,

 

Rob DICKEY

Americas R&D Technical Customer Support Senior Manager

rob.dickey@xxxxxxx

DS Americas Corp. | 523 W 6th Street | Los Angeles, CA 90014 | United States

 

From: Mike Diehl <mdiehlenator@xxxxxxxxx>
Sent: Friday, October 16, 2020 11:35 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: Sending client's IP address to local proxied application server.

 

EXTERNAL EMAIL : The sender of this email is external to 3DS. Be wary of the content and do not open unexpected attachments or links. Original email starts after the REPORT SPAM banner. 

 

REPORT THIS EMAIL AS SPAM :  Click here (no login or additional action will be requested).



Well, I changed my remoteip.conf file to contain:

 

RemoteIPHeader X-Forwarded-For
RemoteIPInternalProxy 127.0.0.1 198.101.193.34 

 

But that didn't change anything.

 

Any other ideas?

 

Mike.

 

On Fri, Oct 16, 2020 at 2:23 PM Eric Covener <covener@xxxxxxxxx> wrote:

> root@xxxxxxxxxxx:/etc/apache2# cat conf-enabled/remoteip.conf
>
> RemoteIPHeader X-Forwarded-For
> RemoteIPTrustedProxy 127.0.0.1 198.101.193.34

I think these need to be
https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html#remoteipinternalproxy

---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail:
users-help@xxxxxxxxxxxxxxxx

This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer at 3DS.compliance-privacy@xxxxxxx


For other languages, go to https://www.3ds.com/terms/email-disclaimer


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux