FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
sisrayilov
Staff
Staff
Article Id 400198
Description

 

This article describes  how to modify the 'System Dynamic Allocation Port Range' in TS agent settings.

 

Scope

 

FortiGate, FSSO, TS agent.

 

Solution

 

By default, the TS agent gets the 'System Dynamic Allocation Port Range' according to the Windows Default Dynamic Ports (depending on the value that is set by default, which can be verified on cmd by the command 'netsh int ipv4 show dynamicport tcp').


Related document:
The default dynamic port range for TCP/IP has changed since Windows Vista and in Windows Server 2008

Screenshot 2025-07-09 104028.png

 

cmd.png

 
That port range can be modified through the command 'netsh int ipv4 set dynamicport tcp start=x num=x' on the server where the TS agent is installed as below.

cmd1.png

 
It will automatically reflect the TS agent settings.

ts agent.png

 

Related article:

Troubleshooting Tip: Terminal Server Agent giving the error 'Port Allocation Pool conflicts with Sys...