Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
MarkB
New Contributor

Setting NAT UDP Timeout

My VOIP vendor states that 2% of calls are not getting a response.  They state that it is probably a problem with the "NAT UDP pinhole timeout".  They recommend a value of 60 to 300 seconds.  I do not find a place to set the UDP timeout value. 

 

I was hoping to set a rule between the interfaces with the source being the phone network and the destination being the VOIP provider with the correct services and an elevated timeout value they are looking for.  I do not see anywhere the UDP timeout can be set at the rule, destination address or service level.  Is this a system wide setting (which I cannot find either)?

3 REPLIES 3
Toshi_Esumi
Esteemed Contributor III

https://help.fortinet.com/cli/fos60hlp/60/Content/FortiOS/fortiOS-cli-ref/config/system/session-ttl....

The answer is in above online help. But the default timer is 3600 as in the doc. So something else it going on.

MarkB

For anyone following.  The document above is talking about the session-ttl. That is not the same as the UDP or ICMP ttl. So what finally solved the issue was the following:

 

config sys global

set udp-idle-timer 300

end

Toshi_Esumi
Esteemed Contributor III

hmm, I thought they're the same but sys global setting sets session ttl timer for everything while the other overrides on top more granularly. The manual below says this:

https://help.fortinet.com/cli/fos60hlp/60/Content/FortiOS/fortiOS-cli-ref/config/system/global.htm

"set udp-idle-timer {integer} UDP connection session timeout. This command can be useful in managing CPU and memory resources (1 - 86400 seconds (1 day), default = 60). range[1-86400]"

Labels
Top Kudoed Authors