4

windows修改默认远程桌面端口

 3 years ago
source link: https://www.wencst.com/archives/358
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

windows修改默认远程桌面端口

作者: wencst 分类: Uncategorized,windows 发布时间: 2016-10-17 15:37 阅读: 3,243 次

最近网络安全非常重要,对于公共服务器来讲,远程端口访问有一定需要放开,但是一般默认的远程端口都是固定的那么几个,所以对于防御来说有一定困难了。

如何修改远程端口呢?

前面有一篇文章介绍修改linux的远程端口《设置linux系统SSH-KEY访问方式》,这里不再赘述。

windows下修改远程端口也相对简单。

首先在注册表中找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp,修改PortNumber为想要设置的端口

然后打开HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp,修改PortNumber为想要设置的端口

然后重启机器,修改远程端口即完成。

如果文章对您有用,扫一下支付宝的红包,不胜感激!

欢迎加入QQ群进行技术交流:656897351(各种技术、招聘、兼职、培训欢迎加入)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK