Skip to main content
edumbrava
Staff
Staff
March 10, 2015

Technical Note: Use of the service 'ALL' in a firewall policy with v5.2.2

  • April 16, 2026 at 12:43 PM
  • 0 replies
  • 12858 views
Description
This article provides a solution for the case where UDP traffic (For example: DNS, NTP) is affected in a firewall policy where the service 'ALL' and default protocol number of 6 (TCP) is used.  As a result UDP traffic will be dropped because it is matching only TCP traffic.  This is seen with firmware version 5.2.2.

Solution
In v5.2.2 for firewall service custom 'ALL' the default protocol number is 6.  The workaround is to change the protocol number to 0 via the CLI:
config firewall service custom
edit "ALL"
set protocol IP
set protocol-number 0
end
The change can also be made via the GUI:
edumbrava_FD36247_tn_FD36247.jpg

Best Practices

While you can use a predefined service, it is best to leave these alone; create a new service and name it something similar such as the same service name with a descriptive identifier appended.

For information on protocol numbers, see http://www.iana.org.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT