Fortinet white logo
Fortinet white logo

Script Reference Guide

UDP commands

UDP commands

  • UDP:receive() — Allows you to get data from a UDP datagram.

  • UDP:reject() — Allows you to reject a UDP datagram from a client.

  • UDP:set_snat_ip(str) — Allow you to set the backend UDP datagram's source address and port.

  • UDP:persist(t) — Allows scripts to manually save a UDP session to the persistence table using a specified hash key, server name, and timeout.

  • UDP:lookup_tbl(t) — Enables scripts to search the persistence table for an existing UDP entry based on a hash key.

UDP commands

UDP commands

  • UDP:receive() — Allows you to get data from a UDP datagram.

  • UDP:reject() — Allows you to reject a UDP datagram from a client.

  • UDP:set_snat_ip(str) — Allow you to set the backend UDP datagram's source address and port.

  • UDP:persist(t) — Allows scripts to manually save a UDP session to the persistence table using a specified hash key, server name, and timeout.

  • UDP:lookup_tbl(t) — Enables scripts to search the persistence table for an existing UDP entry based on a hash key.