UDP:set_snat_ip(str)
Allow you to set the backend UDP datagram's source address and port.
Syntax
UDP:set_snat_ip(str)
Arguments
| Name | Description |
|---|---|
|
str |
A string which specifies the IP address and port. |
Events
Applicable in STREAM_CLIENT_INIT.
Example
when STREAM_CLIENT_INIT {
UDP:set_snat_ip(IP:remote_addr())
}
Supported Version
FortiADC version 6.1.1 and later.