Technical Tip: How to configure NAT Source Pool using Stream Scripting for FortiADC Server Load Balance Layer-7 UDP Virtual Server
| Description | This article provides the FortiADC Server Load Balance Layer-7 UDP Virtual configuration to enable NAT Source Pool using Stream Scripting. |
| Scope | FortiADC. |
| Solution | Configurations:
when STREAM_CLIENT_INIT { UDP:set_snat_ip("10.10.0.101") }
diagnose debug module fnginx scripting set diagnose debug enable
when STREAM_CLIENT_INIT { TCP:set_snat_ip("10.10.0.101") }
Related document: https://docs.fortinet.com/document/fortiadc/7.6.1/script-reference-guide/9537/udp-set-snat-ip-str |







