How to disable SIP ALG on FortiGate Firewall
- Before making any changes be sure to backup your current configuration
- Open the CLI and input the following commands
- For Devices running FortiOS 6.2.2 and above
config system settings
set sip-expectation disable
set sip-nat-trace disable
set default-voip-alg-mode kernel-helper-based
end
- For devices running firmware below FortiOS 6.2.2
config system settings
set sip-helper disable
set sip-nat-trace disable
set default-voip-alg-mode kernel-helper-based
end
- If you encounter any errors while running
set default-voip-alg-mode kernel-helper-based
it is safe to ignore
- Run the following commands
config system session-helper
show
- Here you want to find the entry for sip, this is typically 12 but it may differ depending on software version and device model
delete 12
- Replace 12 with the entry from `show
end
- Enter the following commands in the CLI to disable RTP Processing
config voip profile
edit profile
config sip
end
end
- Once done, go ahead and reboot the device, FortiGate firewalls usually do not require a reboot for configuration changes, but in this case we will need to reboot the device to activate the session helper changes
- Lastly, reboot all of your SIP Devices/Phones