The technical indicators in April are as follows
1. Modify the Windows remote port to 55555 with the registry, and the computer cannot be restarted.
2. Set only the IP 192.168.8.8 to connect to port 55555 of the machine, and all others will be rejected.
3. Install the IIS of this machine, and you need to be able to open the default page of IIS normally.
First, I modified the remote port to 55555, and the win+r key entered regedit to open the registry
Then press ctrl+F in the registry to open the search, then enter portnumber and press Enter
Press F3 to find next until you find the portnumber whose data is 3389
Then I right-click, select Modify, change the base to decimal, change the value of 3389 to 55555
, and continue the previous operation until all the portnumbers whose data is 3389 are changed to 55555.
Then right-click the computer to open the management, select services, find Remote Desktop Services, right-click and select restart to use 55555 remote.
Then start the second
setting, only the IP 192.168.8.8 can connect to the 55555 port of the machine, and all others will be rejected.
Open the advanced settings of the firewall,
right-click to create a new rule in the inbound rule
, select the port, the next step
is to select tcp, the specific local port is 55555, the next step
Select to allow the connection, change the name to 55555,
find the newly created rule, right-click to open the properties
, add the remote IP address to the scope and add the ip of 192.168.8.8 to save and exit
After installing the IIS of this machine, you need to be able to open the default page of IIS normally.
Open Control Panel - Programs - Turn Windows features on or off
Select all the boxes in the picture, click OK, and the IIS installation will begin.
After the installation is complete, right-click the computer to open the management, and see that there is an additional IIS manager, click in and select Browse Website
The iis default page can be opened normally, complete