Technical Tip: Nturbo functions within FortiOS
Description
Solution
Feature Verification.
- Nturbo can be enabled or even disabled globally on the box with the below commands:
config ips global
set np-accel-mode [none | basic] <----- None: Disables Nturbo, Basic: Enables Nturbo.
If the np-accel-mode option is not available on the firewall, it means that the FortiGate model does not support NTurbo.
Some FortiGate models on NP6/NP6Lite/NP6xLite platforms experience unexpected behavior due to certain traffic conditions after upgrading to 7.2.8. Traffic may be interrupted momentarily.
Users impacted by this issue can contact Fortinet Support. Alternatively, users can disable the processing of traffic by the IPS engine’s nTurbo as a workaround, by using the following command:
config ips global
set np-accel-mode none
end
The issue has been reported as Bug id 1012518 and it has been resolved in 7.2.9.
Note that when disabling nTurbo via a policy, subsequent traffic is handled by another IPS engine process.
When disabling nTurbo globally, IPS engines are re-created, so the IPS engine will stop handling any subsequent traffic belonging to already existing sessions sent by nTurbo. It may therefore be necessary to clear the related sessions.
-
Furthermore, Nturbo can be disabled on a per-policy basis with the below commands:
For IPv4 security policies:
config firewall policy
edit <X>
set np-acceleration enable/disable
For IPv6 security policies:
config firewall policy6
edit <X>
set np-acceleration enable/disable
For multicast security policies:
config firewall multicast- policy
edit <X>
set np-acceleration enable/disable
To observe more advanced Nturbo statistics, issue the command:
diagnose test application ipsmonitor 14
Nturbo Limitations.
- Device Identification:
Interfaces that are involved in the firewall policies must have device identification disabled. - Session helpers:
All the sessions that are being handled by session helpers cannot be offloaded to Nturbo. - Proxy-based features:
Proxy-based applications such as proxy Antivirus should not be enabled on the firewall policies.
As of 6.2.0 also, firewall policies involved in traffic should be configured in flow-based inspection mode. - Protocols:
Protocols other than TCP, and UDP cannot be offloaded to Nturbo.
