Forum Discussion
eantolo_25676
Nimbostratus
Jun 23, 2008x-Forwarded-For
Hi All,
i've a problem with X-Forwarded-for iRule.
In effects it inserts the Http Header but the address that is introduced on the Web Server is the address of the big-ip interface on the servers Vlan
Do you have an idea?
BR
Follows the iRule
when HTTP_REQUEST {
HTTP::header insert X-Forwarded-For [IP::remote_addr]
}
thanks
- Colin_Walker_12Historic F5 AccountTry changing the IP::remote_addr portion to IP::client_addr.
- eantolo_25676
Nimbostratus
Ok, - hoolio
Cirrostratus
Configuring an iRule to insert an HTTP header with the original client IP address will not change the source IP address that LTM uses on requests sent to the pool. You can configure the web server to log the XFF value as described in SOL4816 (Click here). - eantolo_25676
Nimbostratus
Thak you for your contribution.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects