Get the App
SLTechnology News&Howtos  ›  Network Security  › 

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

Shulou Source: shulou.com Published: 2022-06-01 01:36:55 10月04日 Update

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

Tags: Desktops networks methods restrictions firewalls configurations fire prevention slogans runs files templates computers management selection login advanced commands console standards policies Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Xiaomi Shulou Tech Info Redmi OPPO Reno