Skip to main content
Sindre-FTNT
Staff
Staff
October 4, 2019

Technical Tip: Customize default service port range

  • October 4, 2019
  • 0 replies
  • 2653 views
Description
This article describes a new option on FortiOS 6.2 that permits to customize default service port range in CLI.


Solution
Starting in FortiOS 6.2, it is now possible to adjust the default service port range by using the CLI.

To do so, use the following commands:

# config system global
# set default-service-source-port <port range>
# end
The default range is 1-65534.
Possible values are from 0 (min) to 65535 (max).

This change takes effect on TCP/UDP protocol.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!