源与目标端口

Source vs Destination Port

例如,如果我想从我的本地计算机等 rdp 到远程服务器

要为网络防火墙打开的源端口和目标端口是什么?

任何人都可以提供更多关于为网络防火墙打开的源端口和目标端口的方案吗?他们总是一样的吗?

在防火墙上您将打开目标端口(对于 RDP 默认为 3389)

Source ports are randomly generated from the unregistered port range. The source/destination port works similar to your IP. The port you send from, is the port the service will reply too. For instance; a website is simply a server listening for connections on port 80 (or 443).