TS Agent - System Source Port Allocation Range Registry Key

cancel
Showing results for 
Search instead for 
Did you mean: 

TS Agent - System Source Port Allocation Range Registry Key

L0 Member

Hey,

 

the following text you can find on this page:

The System Source Port Allocation Range and System Reserved Source Ports fields specify the range of ports that will be allocated to non-user sessions. Make sure the values specified in these fields do not overlap with the ports you designate for user traffic. These values can only be changed by editing the corresponding Windows registry settings.The TS agent does not allocate ports for network traffic emitted by session 0.

 

Can anyone help me to "editing the corresponding Windows registry settings"? In the docs I don't found an answer. Is there a key i have to add?

 

Thanks

3 REPLIES 3

Cyber Elite
Cyber Elite
these are ephemeral ports used by the operating system (windows) and do not need to be added or changed (but can be if you really need to) https://support.microsoft.com/en-us/help/812873/how-to-reserve-a-range-of-ephemeral-ports-on-a-compu...
Tom Piens
PANgurus


@reaper wrote:
these are ephemeral ports used by the operating system (windows) and do not need to be added or changed (but can be if you really need to) https://support.microsoft.com/en-us/help/812873/how-to-reserve-a-range-of-ephemeral-ports-on-a-compu...

Thanks, but the operating system is Windows Server 2012 R2. The solution didn't work for that.

We had same issues on Windows 10 and Windows server 2012 r2.

The following procedure was positively done for Windows 10:

- Locate or Create a multi-string key named "ReservedPorts" on: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Insert on it the value/values of port/s that you want to use as exception, this value from Palo Alto terminal Server Agent Configure tab will be "System Reserved Source Ports" and it must be inside the range of Ports "System Source Port Allocation Range"

This procedure was not working on Windows Server 2012 r2 , so we add those configurations, mentioned on the following article "https://supportcases.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000Clj1CAC":

- Locate the key "HonorSrcPortRequeston Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Palo Alto Networks\TS Agent\Adv\ and change it's value to 1 or 2 (read link above to understand which one is the right value to use).

 

Support Palo Alto doesn't have any documentations about same configuration on Terminal Server agent versions 8.1 or 9 ( I opened a support ticket )

Hope this will help someone. 

 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!