Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of logging in to IP on the Desktop of the restricted process

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

How to restrict remote desktop login IP The first method:

1. Open Windows firewall

2. Allow exceptions, select Remote Desktop-> Edit, select Remote Desktop Services-> Change Range, select Custom List, and fill in IP addresses allowed for access.

The second method: 1. CMD Run gpedit.msc to open Group Policy Console 2. Expand Computer Configuration-> Administration Templates-> Network-> Network Connections->Windows Firewall-> Domain Profiles Find Allow Remote Desktop Exceptions, select Allow, and then fill in the IP list. Also expand Computer Configuration-> Administration Templates-> Network-> Network Connections->Windows Firewall-> Standard Profiles 3. CMD Run gpupdate /force, if it doesn't work then run gpupdate /target:computer.

Note: Do not enable the Remote Desktop option in Firewall Advanced-> Network Connection Settings-> Corresponding Network Connection-> Settings, otherwise the above settings will be invalid. The third method:DOS commands restrict remote desktop login IP Add remote IP restrictions for port number 8081

netsh firewall add portopening ALL 8081 DNS ENABLE CUSTOM 157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0

Set a secure remote IP for port number 8081

netsh firewall set portopening ALL 8081 Remote Desktop ENABLE CUSTOM 157.61.0.1, 172.17.0.0/255.255.255.0

Remove remote restriction with port number 8081

netsh firewall delete portopening TCP 8081

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report