Difference between IP::client_addr and IP::remote_addr
I'm trying to create an iRule that inserts an X-Forwarded-For header based on the user's IP address, and I see that there are iRule examples that use IP::remote_addr while there are others that use IP::client_addr.
I can't seem to find a difference between these two commands, is there a difference?
IP::remote_addr
Returns the IP address of the host on the far end of the connection. In the clientside context, this is the client IP address. In the serverside context this is the node IP address. You can also specify the IP::client_addr and IP::server_addr commands, respectively.
https://clouddocs.f5.com/api/irules/IP__remote_addr.html
IP::client_addr
Returns the client IP address of a connection. This command is equivalent to the command clientside { IP::remote_addr }
https://clouddocs.f5.com/api/irules/IP__client_addr.html