cancel
Showing results for 
Search instead for 
Did you mean: 

Can i extract from XFF the System IP along with Proxy IP

Aatif
Nimbostratus
Nimbostratus

Hi,

I am writing a iRule in which i am able to extract the XFF IP i.e. the proxy IP.

Along with the following XFF IP i even want to extract the System IP from the which the request is generated.

 

Let's Suppose:

Proxy IP: 163.x.x.x

System IP: 10.56.x.x

Is it possible to extract System IP along with XFF IP.

1 REPLY 1

iaine
MVP
MVP

Hi

 

If you want to get the client address, you can use IP::client_addr - https://clouddocs.f5.com/api/irules/IP__client_addr.html

 

log local0. "This client IP is [IP::client_addr]"