| 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 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.