TCP:clear_snat_ip()
Allows the user to clear any IP that was set using the set_snat_ip() command.
Syntax
TCP:clear_snat_ip();
Arguments
N/A
Events
Applicable in the following events:
-
TCP_ACCEPTED
-
HTTP_REQUEST
-
HTTP_DATA_REQUEST
-
CLIENTSSL_HANDSHAKE
Example
when HTTP_REQUEST {
if TCP:clear_snat_ip() then
debug(“clear SNAT ip!\n”)
}
Supported Version
FortiADC version 5.0.x and later.