Which TCP ports to use?
Posted
by
rowatt
on Server Fault
See other posts from Server Fault
or by rowatt
Published on 2012-09-05T15:30:50Z
Indexed on
2012/09/05
15:40 UTC
Read the original article
Hit count: 208
Is there a TCP port range which I can be sure will not be used by anything else for traffic between two machines?
If I am reading RFC6335 correctly, I can be sure that no other applications will use specific ports in the Dynamic/Private/Ephemeral range of 49152-65535. However, if I understand correctly, it also states (section 8.1.2) that an application shouldn't assume that any given port in that range is available at any given time, which would mean I can't be 100% sure that it will be unused all the time.
Specifically, I want to assign specific SSH traffic to a different port for the security benefit and so I can classify it differently for QoS purposes, and not have to worry about changing the port in the future.
© Server Fault or respective owner