Ali cloud windows frp Remote Desktop

Environment: Ali cloud server server 2008, wants to end the remote access (native) is win7 x64

Objective: To achieve elsewhere (at home, on a business trip) is located within the company's computer with remote desktop access


frp description: https://github.com/fatedier/frp/blob/master/README_zh.md

Download:  https://github.com/fatedier/frp/releases

Download the latest version on the line, in my win7 system is frp_0.29.0_windows_amd64


 

On the server side, leaving only two, with the default configuration file

 

 

Then the machine terminal, leaving only two, and then the configuration file such a change:

"Server_addr" public IP Ali cloud server, server_port is above the default server in 7000, to be consistent on both sides

RDP remote desktop configuration, local_port is the port number used by the native Remote Desktop 3389 do not move

remote_port port of the machine is used on Ali cloud server, this can define their own

 

 

 

 

 

 !!!!!

Well, on top of our cloud server to Ali opened two ports, 7000 is a server-side listening, 6000 is used to link the machine from the server, so Ali cloud - Add - Server Instance - Safety set of rules safety set of rules

Add two inbound allows any IP access (0.0.0.0/0) two rules, without restarting.

!!!!!

 

 


 

Configuration is complete, the server that frp cd into the folder, and then run frps.exe -c frps.ini (can be batch, save)

 After a successful start you will be prompted to success, and is listen 7000 port

 

 

 

 

Similarly, frp terminal cd to that folder, then run frpc.exe -c frpc.ini (Telnet terminal involved after the restart, so make windows service and boot from Kai is common practice in the majority of netizens, witty very ah)

After the success of the server and the terminal will have tips, it is easy to see

 

 

Note that we must add the security group rules, or Rom, I'm here for a long time small card


 

Now with other machines Remote Desktop cloud server public IP: 6000 can connect via Remote Desktop to this machine, provided that the unit is set to accept remote connections

 

 Well, I tried it

 

 


 

In this machine you want this feature frp boot from Kai, lest cause unexpected restart can not connect:

  Please refer to this post and later part 2.4, https://www.jianshu.com/p/a6e9627dbe29

 

Ali cloud add the security group rules in the following article to see, to help a big favor

  https://www.jianshu.com/p/a6e9627dbe29

 

Gifts of roses, hand a fragrance

Guess you like

Origin www.cnblogs.com/springbrotherhpu/p/11514424.html