Step-by-step guide for configuring VoIP on a SonicWall firewall, covering access rules, NAT timeouts, QoS, and Consistent NAT.
This guide explains how to set up VoIP traffic on a SonicWall firewall by creating a LAN-to-WAN access rule, adjusting the UDP connection inactivity timeout, and applying QoS settings. It also covers enabling Consistent NAT and disabling SIP Transformations under the VoIP Settings tab.
A simpler alternative is to change the default UDP connection inactivity timeout for the entire firewall under the Firewall > Advanced menu, provided no default catch-all LAN-to-WAN rule overrides it.
| UDP Connection Inactivity Timeout | 60 or above (preferably 120) |
|---|---|
| Default UDP Connection Inactivity Timeout | 30 |
It should be set to 60 or above, preferably 120, so the NAT hole does not close before the 50 second keepalive packets refresh the session.
Consistent NAT should be enabled and SIP Transformations disabled under the VoIP Settings tab. Phones should be rebooted if they were connected before SIP Transformations were disabled.
Change the default UDP Connection Inactivity Timeout for the entire firewall under the Firewall > Advanced menu, as long as no default catch-all LAN-to-WAN rule overrides it.