HTTP:remote_addr()
Returns the IP address of the host on the far end of the connection
Syntax
HTTP:remote_addr();
Arguments
N/A
Events
Applicable in the following events:
-
HTTP_REQUEST
-
HTTP_RESPONSE
Example
when HTTP_REQUEST {
rip = HTTP:remote_addr()
}
Supported Version
FortiADC version 4.6.x and later.